Class CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinition.S3FilesVolumeConfigurationProperty>
- Enclosing interface:
CfnTaskDefinition.S3FilesVolumeConfigurationProperty
@Stability(Stable)
public static final class CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinition.S3FilesVolumeConfigurationProperty>
A builder for
CfnTaskDefinition.S3FilesVolumeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn(String accessPointArn) Sets the value ofCfnTaskDefinition.S3FilesVolumeConfigurationProperty.getAccessPointArn()build()Builds the configured instance.fileSystemArn(String fileSystemArn) Sets the value ofCfnTaskDefinition.S3FilesVolumeConfigurationProperty.getFileSystemArn()rootDirectory(String rootDirectory) Sets the value ofCfnTaskDefinition.S3FilesVolumeConfigurationProperty.getRootDirectory()transitEncryptionPort(Number transitEncryptionPort)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemArn
@Stability(Stable) public CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder fileSystemArn(String fileSystemArn) Sets the value ofCfnTaskDefinition.S3FilesVolumeConfigurationProperty.getFileSystemArn()- Parameters:
fileSystemArn- The full ARN of the S3 Files file system to mount. This parameter is required.- Returns:
this
-
accessPointArn
@Stability(Stable) public CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder accessPointArn(String accessPointArn) Sets the value ofCfnTaskDefinition.S3FilesVolumeConfigurationProperty.getAccessPointArn()- Parameters:
accessPointArn- The full ARN of the S3 Files access point to use. If an access point is specified, the root directory value specified in theS3FilesVolumeConfigurationmust either be omitted or set to/which will enforce the path set on the S3 Files access point. For more information, see Creating S3 Files access points.- Returns:
this
-
rootDirectory
@Stability(Stable) public CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder rootDirectory(String rootDirectory) Sets the value ofCfnTaskDefinition.S3FilesVolumeConfigurationProperty.getRootDirectory()- Parameters:
rootDirectory- The directory within the Amazon S3 Files file system to mount as the root directory. If this parameter is omitted, the root of the Amazon S3 Files file system will be used. Specifying/will have the same effect as omitting this parameter. If a S3 Files access point is specified in theaccessPointArn, the root directory parameter must either be omitted or set to/which will enforce the path set on the S3 Files access point.- Returns:
this
-
transitEncryptionPort
@Stability(Stable) public CfnTaskDefinition.S3FilesVolumeConfigurationProperty.Builder transitEncryptionPort(Number transitEncryptionPort) - Parameters:
transitEncryptionPort- The port to use for sending encrypted data between the ECS host and the S3 Files file system. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon S3 Files mount helper uses. For more information, see S3 Files mount helper.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinition.S3FilesVolumeConfigurationProperty>- Returns:
- a new instance of
CfnTaskDefinition.S3FilesVolumeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-