Interface UpdateLocationEfsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLocationEfsRequest.Builder,
,UpdateLocationEfsRequest> DataSyncRequest.Builder
,SdkBuilder<UpdateLocationEfsRequest.Builder,
,UpdateLocationEfsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLocationEfsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to mount your Amazon EFS file system.fileSystemAccessRoleArn
(String fileSystemAccessRoleArn) Specifies an Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.inTransitEncryption
(String inTransitEncryption) Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.inTransitEncryption
(EfsInTransitEncryption inTransitEncryption) Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.locationArn
(String locationArn) Specifies the Amazon Resource Name (ARN) of the Amazon EFS transfer location that you're updating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subdirectory
(String subdirectory) Specifies a mount path for your Amazon EFS file system.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
locationArn
Specifies the Amazon Resource Name (ARN) of the Amazon EFS transfer location that you're updating.
- Parameters:
locationArn
- Specifies the Amazon Resource Name (ARN) of the Amazon EFS transfer location that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subdirectory
Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data on your file system (depending on if this is a source or destination location).
By default, DataSync uses the root directory (or access point if you provide one by using
AccessPointArn
). You can also include subdirectories using forward slashes (for example,/path/to/folder
).- Parameters:
subdirectory
- Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data on your file system (depending on if this is a source or destination location).By default, DataSync uses the root directory (or access point if you provide one by using
AccessPointArn
). You can also include subdirectories using forward slashes (for example,/path/to/folder
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPointArn
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to mount your Amazon EFS file system.
For more information, see Accessing restricted Amazon EFS file systems.
- Parameters:
accessPointArn
- Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to mount your Amazon EFS file system.For more information, see Accessing restricted Amazon EFS file systems.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemAccessRoleArn
Specifies an Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.
For information on creating this role, see Creating a DataSync IAM role for Amazon EFS file system access.
- Parameters:
fileSystemAccessRoleArn
- Specifies an Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.For information on creating this role, see Creating a DataSync IAM role for Amazon EFS file system access.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inTransitEncryption
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.
If you specify an access point using
AccessPointArn
or an IAM role usingFileSystemAccessRoleArn
, you must set this parameter toTLS1_2
.- Parameters:
inTransitEncryption
- Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.If you specify an access point using
AccessPointArn
or an IAM role usingFileSystemAccessRoleArn
, you must set this parameter toTLS1_2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inTransitEncryption
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.
If you specify an access point using
AccessPointArn
or an IAM role usingFileSystemAccessRoleArn
, you must set this parameter toTLS1_2
.- Parameters:
inTransitEncryption
- Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.If you specify an access point using
AccessPointArn
or an IAM role usingFileSystemAccessRoleArn
, you must set this parameter toTLS1_2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLocationEfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLocationEfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-