Interface CreateLocationEfsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLocationEfsRequest.Builder,CreateLocationEfsRequest>,DataSyncRequest.Builder,SdkBuilder<CreateLocationEfsRequest.Builder,CreateLocationEfsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLocationEfsRequest
public static interface CreateLocationEfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationEfsRequest.Builder,CreateLocationEfsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateLocationEfsRequest.BuilderaccessPointArn(String accessPointArn)Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.default CreateLocationEfsRequest.Builderec2Config(Consumer<Ec2Config.Builder> ec2Config)Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.CreateLocationEfsRequest.Builderec2Config(Ec2Config ec2Config)Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.CreateLocationEfsRequest.BuilderefsFilesystemArn(String efsFilesystemArn)Specifies the ARN for the Amazon EFS file system.CreateLocationEfsRequest.BuilderfileSystemAccessRoleArn(String fileSystemAccessRoleArn)Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.CreateLocationEfsRequest.BuilderinTransitEncryption(String inTransitEncryption)Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.CreateLocationEfsRequest.BuilderinTransitEncryption(EfsInTransitEncryption inTransitEncryption)Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.CreateLocationEfsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLocationEfsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLocationEfsRequest.Buildersubdirectory(String subdirectory)Specifies a mount path for your Amazon EFS file system.CreateLocationEfsRequest.Buildertags(Collection<TagListEntry> tags)Specifies the key-value pair that represents a tag that you want to add to the resource.CreateLocationEfsRequest.Buildertags(Consumer<TagListEntry.Builder>... tags)Specifies the key-value pair that represents a tag that you want to add to the resource.CreateLocationEfsRequest.Buildertags(TagListEntry... tags)Specifies the key-value pair that represents a tag that you want to add to the resource.-
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, sdkFields
-
-
-
-
Method Detail
-
subdirectory
CreateLocationEfsRequest.Builder subdirectory(String subdirectory)
Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.
You must specify a value with 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 (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.You must specify a value with forward slashes (for example,
/path/to/folder).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
efsFilesystemArn
CreateLocationEfsRequest.Builder efsFilesystemArn(String efsFilesystemArn)
Specifies the ARN for the Amazon EFS file system.
- Parameters:
efsFilesystemArn- Specifies the ARN for the Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Config
CreateLocationEfsRequest.Builder ec2Config(Ec2Config ec2Config)
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
- Parameters:
ec2Config- Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Config
default CreateLocationEfsRequest.Builder ec2Config(Consumer<Ec2Config.Builder> ec2Config)
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
This is a convenience method that creates an instance of theEc2Config.Builderavoiding the need to create one manually viaEc2Config.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2Config(Ec2Config).- Parameters:
ec2Config- a consumer that will call methods onEc2Config.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ec2Config(Ec2Config)
-
tags
CreateLocationEfsRequest.Builder tags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
- Parameters:
tags- Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateLocationEfsRequest.Builder tags(TagListEntry... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
- Parameters:
tags- Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateLocationEfsRequest.Builder tags(Consumer<TagListEntry.Builder>... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
This is a convenience method that creates an instance of theTagListEntry.Builderavoiding the need to create one manually viaTagListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTagListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
accessPointArn
CreateLocationEfsRequest.Builder accessPointArn(String accessPointArn)
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
- Parameters:
accessPointArn- Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemAccessRoleArn
CreateLocationEfsRequest.Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn)
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
- Parameters:
fileSystemAccessRoleArn- Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inTransitEncryption
CreateLocationEfsRequest.Builder inTransitEncryption(String inTransitEncryption)
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.
If you specify an access point using
AccessPointArnor 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 copies data to or from the Amazon EFS file system.If you specify an access point using
AccessPointArnor 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:
EfsInTransitEncryption,EfsInTransitEncryption
-
inTransitEncryption
CreateLocationEfsRequest.Builder inTransitEncryption(EfsInTransitEncryption inTransitEncryption)
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.
If you specify an access point using
AccessPointArnor 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 copies data to or from the Amazon EFS file system.If you specify an access point using
AccessPointArnor 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:
EfsInTransitEncryption,EfsInTransitEncryption
-
overrideConfiguration
CreateLocationEfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLocationEfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-