Class CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.efs.CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystemPropsMixin.ReplicationDestinationProperty>
- Enclosing interface:
CfnFileSystemPropsMixin.ReplicationDestinationProperty
@Stability(Stable)
public static final class CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystemPropsMixin.ReplicationDestinationProperty>
A builder for
CfnFileSystemPropsMixin.ReplicationDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZoneName(String availabilityZoneName) build()Builds the configured instance.fileSystemId(String fileSystemId) Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getFileSystemId()Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getKmsKeyId()Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getRegion()Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getRoleArn()Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getStatus()statusMessage(String statusMessage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZoneName
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder availabilityZoneName(String availabilityZoneName) - Parameters:
availabilityZoneName- For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located. Use the formatus-east-1ato specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide .One Zone file system type is not available in all Availability Zones in AWS Regions where Amazon EFS is available.
- Returns:
this
-
fileSystemId
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder fileSystemId(String fileSystemId) Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getFileSystemId()- Parameters:
fileSystemId- The ID of the destination Amazon EFS file system.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getKmsKeyId()- Parameters:
kmsKeyId- The ID of an AWS KMS key used to protect the encrypted file system.- Returns:
this
-
region
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder region(String region) Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getRegion()- Parameters:
region- The AWS Region in which the destination file system is located.For One Zone file systems, the replication configuration must specify the AWS Region in which the destination file system is located.
- Returns:
this
-
roleArn
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder roleArn(String roleArn) Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the current source file system in the replication configuration.- Returns:
this
-
status
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder status(String status) Sets the value ofCfnFileSystemPropsMixin.ReplicationDestinationProperty.getStatus()- Parameters:
status- Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide .- Returns:
this
-
statusMessage
@Stability(Stable) public CfnFileSystemPropsMixin.ReplicationDestinationProperty.Builder statusMessage(String statusMessage) - Parameters:
statusMessage- Message that provides details about thePAUSEDorERRRORstate of the replication destination configuration. For more information about replication status messages, see Viewing replication details in the Amazon EFS User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystemPropsMixin.ReplicationDestinationProperty>- Returns:
- a new instance of
CfnFileSystemPropsMixin.ReplicationDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-