@Generated(value="software.amazon.awssdk:codegen") public final class CreateLocationEfsRequest extends DataSyncRequest implements ToCopyableBuilder<CreateLocationEfsRequest.Builder,CreateLocationEfsRequest>
CreateLocationEfsRequest
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLocationEfsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLocationEfsRequest.Builder |
builder() |
Ec2Config |
ec2Config()
The subnet and security group that the Amazon EFS file system uses.
|
String |
efsFilesystemArn()
The Amazon Resource Name (ARN) for the Amazon EFS file system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLocationEfsRequest.Builder> |
serializableBuilderClass() |
String |
subdirectory()
A subdirectory in the location’s path.
|
List<TagListEntry> |
tags()
The key-value pair that represents a tag that you want to add to the resource.
|
CreateLocationEfsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String subdirectory()
A subdirectory in the location’s path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination. By default, AWS DataSync uses the root directory.
Subdirectory must be specified with forward slashes. For example, /path/to/folder.
Subdirectory must be specified with forward slashes. For example,
/path/to/folder.
public String efsFilesystemArn()
The Amazon Resource Name (ARN) for the Amazon EFS file system.
public Ec2Config ec2Config()
The subnet and security group that the Amazon EFS file system uses. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.
The exact relationship between security group M (of the mount target) and security group S (which you provide for DataSync to use at this stage) is as follows:
Security group M (which you associate with the mount target) must allow inbound access for the Transmission Control Protocol (TCP) on the NFS port (2049) from security group S. You can enable inbound connections either by IP address (CIDR range) or security group.
Security group S (provided to DataSync to access EFS) should have a rule that enables outbound connections to the NFS port on one of the file system’s mount targets. You can enable outbound connections either by IP address (CIDR range) or security group.
For information about security groups and mount targets, see Security Groups for Amazon EC2 Instances and Mount Targets in the Amazon EFS User Guide.
The exact relationship between security group M (of the mount target) and security group S (which you provide for DataSync to use at this stage) is as follows:
Security group M (which you associate with the mount target) must allow inbound access for the Transmission Control Protocol (TCP) on the NFS port (2049) from security group S. You can enable inbound connections either by IP address (CIDR range) or security group.
Security group S (provided to DataSync to access EFS) should have a rule that enables outbound connections to the NFS port on one of the file system’s mount targets. You can enable outbound connections either by IP address (CIDR range) or security group.
For information about security groups and mount targets, see Security Groups for Amazon EC2 Instances and Mount Targets in the Amazon EFS User Guide.
public boolean hasTags()
public List<TagListEntry> tags()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateLocationEfsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateLocationEfsRequest.Builder,CreateLocationEfsRequest>toBuilder in class DataSyncRequestpublic static CreateLocationEfsRequest.Builder builder()
public static Class<? extends CreateLocationEfsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.