@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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.
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.
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.
public CreateLocationEfsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateLocationEfsRequest.Builder,CreateLocationEfsRequest>
toBuilder
in class DataSyncRequest
public static CreateLocationEfsRequest.Builder builder()
public static Class<? extends CreateLocationEfsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.