@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationToCreate extends Object implements Serializable, Cloneable, StructuredPojo
Describes the destination file system to create in 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 EFS One Zone storage, specify the name of the Availability Zone in which to
create the destination file system.
|
String |
getKmsKeyId()
Specifies 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 EFS One Zone storage, specify the name of the Availability Zone in which to
create the destination file system.
|
void |
setKmsKeyId(String kmsKeyId)
Specifies 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 EFS One Zone storage, specify the name of the Availability Zone in which to
create the destination file system.
|
DestinationToCreate |
withKmsKeyId(String kmsKeyId)
Specifies 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 EFS 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 EFS 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 EFS 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 EFS 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 EFS One Zone storage, specify the name of the Availability Zone in which
to create the destination file system.public void setKmsKeyId(String kmsKeyId)
Specifies 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
- Specifies 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()
Specifies 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)
Specifies 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
- Specifies 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 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.