@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationToCreate extends Object implements Serializable, Cloneable, StructuredPojo
Describes the new or existing destination file system for the replication configuration.
Constructor and Description |
---|
DestinationToCreate() |
Modifier and Type | Method and Description |
---|---|
DestinationToCreate |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZoneName()
To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create
the destination file system.
|
String |
getFileSystemId()
The ID of the file system to use for the destination.
|
String |
getKmsKeyId()
Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system.
|
String |
getRegion()
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the
destination file system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZoneName(String availabilityZoneName)
To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create
the destination file system.
|
void |
setFileSystemId(String fileSystemId)
The ID of the file system to use for the destination.
|
void |
setKmsKeyId(String kmsKeyId)
Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system.
|
void |
setRegion(String region)
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the
destination file system.
|
String |
toString()
Returns a string representation of this object.
|
DestinationToCreate |
withAvailabilityZoneName(String availabilityZoneName)
To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create
the destination file system.
|
DestinationToCreate |
withFileSystemId(String fileSystemId)
The ID of the file system to use for the destination.
|
DestinationToCreate |
withKmsKeyId(String kmsKeyId)
Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system.
|
DestinationToCreate |
withRegion(String region)
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the
destination file system.
|
public void setRegion(String region)
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the destination file system.
region
- To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to
create the destination file system.public String getRegion()
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the destination file system.
public DestinationToCreate withRegion(String region)
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the destination file system.
region
- To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to
create the destination file system.public void setAvailabilityZoneName(String availabilityZoneName)
To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create the destination file system.
availabilityZoneName
- To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to
create the destination file system.public String getAvailabilityZoneName()
To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create the destination file system.
public DestinationToCreate withAvailabilityZoneName(String availabilityZoneName)
To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create the destination file system.
availabilityZoneName
- To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to
create the destination file system.public void setKmsKeyId(String kmsKeyId)
Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system. If you
do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following formats:
Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab
.
ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Key alias - A previously created display name for a key, for example alias/projectKey1
.
Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
kmsKeyId
- Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system.
If you do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following formats:
Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab
.
ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Key alias - A previously created display name for a key, for example alias/projectKey1
.
Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
public String getKmsKeyId()
Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system. If you
do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following formats:
Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab
.
ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Key alias - A previously created display name for a key, for example alias/projectKey1
.
Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
/aws/elasticfilesystem
. This ID can be in one of the following formats:
Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab
.
ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Key alias - A previously created display name for a key, for example alias/projectKey1
.
Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
public DestinationToCreate withKmsKeyId(String kmsKeyId)
Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system. If you
do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following formats:
Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab
.
ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Key alias - A previously created display name for a key, for example alias/projectKey1
.
Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
kmsKeyId
- Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system.
If you do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following formats:
Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab
.
ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
Key alias - A previously created display name for a key, for example alias/projectKey1
.
Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
public void setFileSystemId(String fileSystemId)
The ID of the file system to use for the destination. The file system's replication overwrite replication must be disabled. If you do not provide an ID, then EFS creates a new file system for the replication destination.
fileSystemId
- The ID of the file system to use for the destination. The file system's replication overwrite replication
must be disabled. If you do not provide an ID, then EFS creates a new file system for the replication
destination.public String getFileSystemId()
The ID of the file system to use for the destination. The file system's replication overwrite replication must be disabled. If you do not provide an ID, then EFS creates a new file system for the replication destination.
public DestinationToCreate withFileSystemId(String fileSystemId)
The ID of the file system to use for the destination. The file system's replication overwrite replication must be disabled. If you do not provide an ID, then EFS creates a new file system for the replication destination.
fileSystemId
- The ID of the file system to use for the destination. The file system's replication overwrite replication
must be disabled. If you do not provide an ID, then EFS creates a new file system for the replication
destination.public String toString()
toString
in class Object
Object.toString()
public DestinationToCreate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.