@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileCacheCreating extends Object implements Serializable, Cloneable, StructuredPojo
The response object for the Amazon File Cache resource being created in the CreateFileCache
operation.
Constructor and Description |
---|
FileCacheCreating() |
Modifier and Type | Method and Description |
---|---|
FileCacheCreating |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCopyTagsToDataRepositoryAssociations()
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
|
Date |
getCreationTime() |
List<String> |
getDataRepositoryAssociationIds()
A list of IDs of data repository associations that are associated with this cache.
|
String |
getDNSName()
The Domain Name System (DNS) name for the cache.
|
FileCacheFailureDetails |
getFailureDetails()
A structure providing details of any failures that occurred in creating a cache.
|
String |
getFileCacheId()
The system-generated, unique ID of the cache.
|
String |
getFileCacheType()
The type of cache, which must be
LUSTRE . |
String |
getFileCacheTypeVersion()
The Lustre version of the cache, which must be
2.12 . |
String |
getKmsKeyId()
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache.
|
String |
getLifecycle()
The lifecycle status of the cache.
|
FileCacheLustreConfiguration |
getLustreConfiguration()
The configuration for the Amazon File Cache resource.
|
List<String> |
getNetworkInterfaceIds() |
String |
getOwnerId() |
String |
getResourceARN() |
Integer |
getStorageCapacity()
The storage capacity of the cache in gibibytes (GiB).
|
List<String> |
getSubnetIds() |
List<Tag> |
getTags() |
String |
getVpcId() |
int |
hashCode() |
Boolean |
isCopyTagsToDataRepositoryAssociations()
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCopyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations)
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
|
void |
setCreationTime(Date creationTime) |
void |
setDataRepositoryAssociationIds(Collection<String> dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
void |
setDNSName(String dNSName)
The Domain Name System (DNS) name for the cache.
|
void |
setFailureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred in creating a cache.
|
void |
setFileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
|
void |
setFileCacheType(String fileCacheType)
The type of cache, which must be
LUSTRE . |
void |
setFileCacheTypeVersion(String fileCacheTypeVersion)
The Lustre version of the cache, which must be
2.12 . |
void |
setKmsKeyId(String kmsKeyId)
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache.
|
void |
setLifecycle(String lifecycle)
The lifecycle status of the cache.
|
void |
setLustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
|
void |
setNetworkInterfaceIds(Collection<String> networkInterfaceIds) |
void |
setOwnerId(String ownerId) |
void |
setResourceARN(String resourceARN) |
void |
setStorageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
|
void |
setSubnetIds(Collection<String> subnetIds) |
void |
setTags(Collection<Tag> tags) |
void |
setVpcId(String vpcId) |
String |
toString()
Returns a string representation of this object.
|
FileCacheCreating |
withCopyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations)
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
|
FileCacheCreating |
withCreationTime(Date creationTime) |
FileCacheCreating |
withDataRepositoryAssociationIds(Collection<String> dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
FileCacheCreating |
withDataRepositoryAssociationIds(String... dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
FileCacheCreating |
withDNSName(String dNSName)
The Domain Name System (DNS) name for the cache.
|
FileCacheCreating |
withFailureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred in creating a cache.
|
FileCacheCreating |
withFileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
|
FileCacheCreating |
withFileCacheType(FileCacheType fileCacheType)
The type of cache, which must be
LUSTRE . |
FileCacheCreating |
withFileCacheType(String fileCacheType)
The type of cache, which must be
LUSTRE . |
FileCacheCreating |
withFileCacheTypeVersion(String fileCacheTypeVersion)
The Lustre version of the cache, which must be
2.12 . |
FileCacheCreating |
withKmsKeyId(String kmsKeyId)
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache.
|
FileCacheCreating |
withLifecycle(FileCacheLifecycle lifecycle)
The lifecycle status of the cache.
|
FileCacheCreating |
withLifecycle(String lifecycle)
The lifecycle status of the cache.
|
FileCacheCreating |
withLustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
|
FileCacheCreating |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds) |
FileCacheCreating |
withNetworkInterfaceIds(String... networkInterfaceIds)
NOTE: This method appends the values to the existing list (if any).
|
FileCacheCreating |
withOwnerId(String ownerId) |
FileCacheCreating |
withResourceARN(String resourceARN) |
FileCacheCreating |
withStorageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
|
FileCacheCreating |
withSubnetIds(Collection<String> subnetIds) |
FileCacheCreating |
withSubnetIds(String... subnetIds)
NOTE: This method appends the values to the existing list (if any).
|
FileCacheCreating |
withTags(Collection<Tag> tags) |
FileCacheCreating |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
FileCacheCreating |
withVpcId(String vpcId) |
public void setOwnerId(String ownerId)
ownerId
- public String getOwnerId()
public FileCacheCreating withOwnerId(String ownerId)
ownerId
- public void setCreationTime(Date creationTime)
creationTime
- public Date getCreationTime()
public FileCacheCreating withCreationTime(Date creationTime)
creationTime
- public void setFileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
fileCacheId
- The system-generated, unique ID of the cache.public String getFileCacheId()
The system-generated, unique ID of the cache.
public FileCacheCreating withFileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
fileCacheId
- The system-generated, unique ID of the cache.public void setFileCacheType(String fileCacheType)
The type of cache, which must be LUSTRE
.
fileCacheType
- The type of cache, which must be LUSTRE
.FileCacheType
public String getFileCacheType()
The type of cache, which must be LUSTRE
.
LUSTRE
.FileCacheType
public FileCacheCreating withFileCacheType(String fileCacheType)
The type of cache, which must be LUSTRE
.
fileCacheType
- The type of cache, which must be LUSTRE
.FileCacheType
public FileCacheCreating withFileCacheType(FileCacheType fileCacheType)
The type of cache, which must be LUSTRE
.
fileCacheType
- The type of cache, which must be LUSTRE
.FileCacheType
public void setFileCacheTypeVersion(String fileCacheTypeVersion)
The Lustre version of the cache, which must be 2.12
.
fileCacheTypeVersion
- The Lustre version of the cache, which must be 2.12
.public String getFileCacheTypeVersion()
The Lustre version of the cache, which must be 2.12
.
2.12
.public FileCacheCreating withFileCacheTypeVersion(String fileCacheTypeVersion)
The Lustre version of the cache, which must be 2.12
.
fileCacheTypeVersion
- The Lustre version of the cache, which must be 2.12
.public void setLifecycle(String lifecycle)
The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new cache, the
cache was unable to be created.
lifecycle
- The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new
cache, the cache was unable to be created.
FileCacheLifecycle
public String getLifecycle()
The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new cache, the
cache was unable to be created.
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new
cache, the cache was unable to be created.
FileCacheLifecycle
public FileCacheCreating withLifecycle(String lifecycle)
The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new cache, the
cache was unable to be created.
lifecycle
- The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new
cache, the cache was unable to be created.
FileCacheLifecycle
public FileCacheCreating withLifecycle(FileCacheLifecycle lifecycle)
The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new cache, the
cache was unable to be created.
lifecycle
- The lifecycle status of the cache. The following are the possible values and what they mean:
AVAILABLE
- The cache is in a healthy state, and is reachable and available for use.
CREATING
- The new cache is being created.
DELETING
- An existing cache is being deleted.
UPDATING
- The cache is undergoing a customer-initiated update.
FAILED
- An existing cache has experienced an unrecoverable failure. When creating a new
cache, the cache was unable to be created.
FileCacheLifecycle
public void setFailureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred in creating a cache.
failureDetails
- A structure providing details of any failures that occurred in creating a cache.public FileCacheFailureDetails getFailureDetails()
A structure providing details of any failures that occurred in creating a cache.
public FileCacheCreating withFailureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred in creating a cache.
failureDetails
- A structure providing details of any failures that occurred in creating a cache.public void setStorageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
storageCapacity
- The storage capacity of the cache in gibibytes (GiB).public Integer getStorageCapacity()
The storage capacity of the cache in gibibytes (GiB).
public FileCacheCreating withStorageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
storageCapacity
- The storage capacity of the cache in gibibytes (GiB).public void setVpcId(String vpcId)
vpcId
- public String getVpcId()
public FileCacheCreating withVpcId(String vpcId)
vpcId
- public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- public FileCacheCreating withSubnetIds(String... subnetIds)
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- public FileCacheCreating withSubnetIds(Collection<String> subnetIds)
subnetIds
- public void setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
networkInterfaceIds
- public FileCacheCreating withNetworkInterfaceIds(String... networkInterfaceIds)
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaceIds(java.util.Collection)
or withNetworkInterfaceIds(java.util.Collection)
if you want to override the existing values.
networkInterfaceIds
- public FileCacheCreating withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
networkInterfaceIds
- public void setDNSName(String dNSName)
The Domain Name System (DNS) name for the cache.
dNSName
- The Domain Name System (DNS) name for the cache.public String getDNSName()
The Domain Name System (DNS) name for the cache.
public FileCacheCreating withDNSName(String dNSName)
The Domain Name System (DNS) name for the cache.
dNSName
- The Domain Name System (DNS) name for the cache.public void setKmsKeyId(String kmsKeyId)
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache. If a
KmsKeyId
isn't specified, the Amazon FSx-managed KMS key for your account is used. For more
information, see Encrypt in
the Key Management Service API Reference.
kmsKeyId
- Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File
Cache. If a KmsKeyId
isn't specified, the Amazon FSx-managed KMS key for your account is
used. For more information, see Encrypt in the Key
Management Service API Reference.public String getKmsKeyId()
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache. If a
KmsKeyId
isn't specified, the Amazon FSx-managed KMS key for your account is used. For more
information, see Encrypt in
the Key Management Service API Reference.
KmsKeyId
isn't specified, the Amazon FSx-managed KMS key for your account is
used. For more information, see Encrypt in the Key
Management Service API Reference.public FileCacheCreating withKmsKeyId(String kmsKeyId)
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache. If a
KmsKeyId
isn't specified, the Amazon FSx-managed KMS key for your account is used. For more
information, see Encrypt in
the Key Management Service API Reference.
kmsKeyId
- Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File
Cache. If a KmsKeyId
isn't specified, the Amazon FSx-managed KMS key for your account is
used. For more information, see Encrypt in the Key
Management Service API Reference.public void setResourceARN(String resourceARN)
resourceARN
- public String getResourceARN()
public FileCacheCreating withResourceARN(String resourceARN)
resourceARN
- public void setTags(Collection<Tag> tags)
tags
- public FileCacheCreating withTags(Tag... tags)
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
- public FileCacheCreating withTags(Collection<Tag> tags)
tags
- public void setCopyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations)
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
copyTagsToDataRepositoryAssociations
- A boolean flag indicating whether tags for the cache should be copied to data repository associations.public Boolean getCopyTagsToDataRepositoryAssociations()
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
public FileCacheCreating withCopyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations)
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
copyTagsToDataRepositoryAssociations
- A boolean flag indicating whether tags for the cache should be copied to data repository associations.public Boolean isCopyTagsToDataRepositoryAssociations()
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
public void setLustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
lustreConfiguration
- The configuration for the Amazon File Cache resource.public FileCacheLustreConfiguration getLustreConfiguration()
The configuration for the Amazon File Cache resource.
public FileCacheCreating withLustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
lustreConfiguration
- The configuration for the Amazon File Cache resource.public List<String> getDataRepositoryAssociationIds()
A list of IDs of data repository associations that are associated with this cache.
public void setDataRepositoryAssociationIds(Collection<String> dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
dataRepositoryAssociationIds
- A list of IDs of data repository associations that are associated with this cache.public FileCacheCreating withDataRepositoryAssociationIds(String... dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
NOTE: This method appends the values to the existing list (if any). Use
setDataRepositoryAssociationIds(java.util.Collection)
or
withDataRepositoryAssociationIds(java.util.Collection)
if you want to override the existing values.
dataRepositoryAssociationIds
- A list of IDs of data repository associations that are associated with this cache.public FileCacheCreating withDataRepositoryAssociationIds(Collection<String> dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
dataRepositoryAssociationIds
- A list of IDs of data repository associations that are associated with this cache.public String toString()
toString
in class Object
Object.toString()
public FileCacheCreating clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.