@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationEfsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateLocationEfsRequest
NOOP
Constructor and Description |
---|
CreateLocationEfsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLocationEfsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessPointArn()
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file
system.
|
Ec2Config |
getEc2Config()
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
|
String |
getEfsFilesystemArn()
Specifies the ARN for the Amazon EFS file system.
|
String |
getFileSystemAccessRoleArn()
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file
system.
|
String |
getInTransitEncryption()
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.
|
String |
getSubdirectory()
Specifies a mount path for your Amazon EFS file system.
|
List<TagListEntry> |
getTags()
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
int |
hashCode() |
void |
setAccessPointArn(String accessPointArn)
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file
system.
|
void |
setEc2Config(Ec2Config ec2Config)
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
|
void |
setEfsFilesystemArn(String efsFilesystemArn)
Specifies the ARN for the Amazon EFS file system.
|
void |
setFileSystemAccessRoleArn(String fileSystemAccessRoleArn)
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file
system.
|
void |
setInTransitEncryption(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.
|
void |
setSubdirectory(String subdirectory)
Specifies a mount path for your Amazon EFS file system.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationEfsRequest |
withAccessPointArn(String accessPointArn)
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file
system.
|
CreateLocationEfsRequest |
withEc2Config(Ec2Config ec2Config)
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
|
CreateLocationEfsRequest |
withEfsFilesystemArn(String efsFilesystemArn)
Specifies the ARN for the Amazon EFS file system.
|
CreateLocationEfsRequest |
withFileSystemAccessRoleArn(String fileSystemAccessRoleArn)
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file
system.
|
CreateLocationEfsRequest |
withInTransitEncryption(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 |
withInTransitEncryption(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 |
withSubdirectory(String subdirectory)
Specifies a mount path for your Amazon EFS file system.
|
CreateLocationEfsRequest |
withTags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
CreateLocationEfsRequest |
withTags(TagListEntry... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSubdirectory(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
).
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
).
public String getSubdirectory()
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
).
You must specify a value with forward slashes (for example, /path/to/folder
).
public CreateLocationEfsRequest withSubdirectory(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
).
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
).
public void setEfsFilesystemArn(String efsFilesystemArn)
Specifies the ARN for the Amazon EFS file system.
efsFilesystemArn
- Specifies the ARN for the Amazon EFS file system.public String getEfsFilesystemArn()
Specifies the ARN for the Amazon EFS file system.
public CreateLocationEfsRequest withEfsFilesystemArn(String efsFilesystemArn)
Specifies the ARN for the Amazon EFS file system.
efsFilesystemArn
- Specifies the ARN for the Amazon EFS file system.public void setEc2Config(Ec2Config ec2Config)
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
ec2Config
- Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.public Ec2Config getEc2Config()
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
public CreateLocationEfsRequest withEc2Config(Ec2Config ec2Config)
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
ec2Config
- Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.public List<TagListEntry> getTags()
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.
public void setTags(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.
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.public CreateLocationEfsRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateLocationEfsRequest withTags(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.
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.public void setAccessPointArn(String accessPointArn)
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
accessPointArn
- Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS
file system.public String getAccessPointArn()
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
public CreateLocationEfsRequest withAccessPointArn(String accessPointArn)
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
accessPointArn
- Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS
file system.public void setFileSystemAccessRoleArn(String fileSystemAccessRoleArn)
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
fileSystemAccessRoleArn
- Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS
file system.public String getFileSystemAccessRoleArn()
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
public CreateLocationEfsRequest withFileSystemAccessRoleArn(String fileSystemAccessRoleArn)
Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
fileSystemAccessRoleArn
- Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS
file system.public void setInTransitEncryption(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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
EfsInTransitEncryption
public String getInTransitEncryption()
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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
If you specify an access point using AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
EfsInTransitEncryption
public CreateLocationEfsRequest withInTransitEncryption(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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
EfsInTransitEncryption
public CreateLocationEfsRequest withInTransitEncryption(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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
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 AccessPointArn
or an IAM role using
FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
EfsInTransitEncryption
public String toString()
toString
in class Object
Object.toString()
public CreateLocationEfsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()