Class CfnBackupProps.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnBackupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupProps>
- Enclosing interface:
CfnBackupProps
@Stability(Stable)
public static final class CfnBackupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupProps>
A builder for
CfnBackupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileSystemId(String fileSystemId) Sets the value ofCfnBackupProps.getFileSystemId()Sets the value ofCfnBackupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
Sets the value ofCfnBackupProps.getFileSystemId()- Parameters:
fileSystemId- The ID of the file system to back up. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnBackupProps.getTags()- Parameters:
tags- The tags to apply to the backup at backup creation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupProps>- Returns:
- a new instance of
CfnBackupProps - Throws:
NullPointerException- if any required attribute was not provided
-