@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileCache extends Object implements Serializable, Cloneable, StructuredPojo
A description of a specific Amazon File Cache resource, which is a response object from the
DescribeFileCaches
operation.
Constructor and Description |
---|
FileCache() |
Modifier and Type | Method and Description |
---|---|
FileCache |
clone() |
boolean |
equals(Object obj) |
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.
|
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() |
String |
getVpcId() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 |
setVpcId(String vpcId) |
String |
toString()
Returns a string representation of this object.
|
FileCache |
withCreationTime(Date creationTime) |
FileCache |
withDataRepositoryAssociationIds(Collection<String> dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
FileCache |
withDataRepositoryAssociationIds(String... dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
FileCache |
withDNSName(String dNSName)
The Domain Name System (DNS) name for the cache.
|
FileCache |
withFailureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred.
|
FileCache |
withFileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
|
FileCache |
withFileCacheType(FileCacheType fileCacheType)
The type of cache, which must be
LUSTRE . |
FileCache |
withFileCacheType(String fileCacheType)
The type of cache, which must be
LUSTRE . |
FileCache |
withFileCacheTypeVersion(String fileCacheTypeVersion)
The Lustre version of the cache, which must be
2.12 . |
FileCache |
withKmsKeyId(String kmsKeyId)
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache.
|
FileCache |
withLifecycle(FileCacheLifecycle lifecycle)
The lifecycle status of the cache.
|
FileCache |
withLifecycle(String lifecycle)
The lifecycle status of the cache.
|
FileCache |
withLustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
|
FileCache |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds) |
FileCache |
withNetworkInterfaceIds(String... networkInterfaceIds)
NOTE: This method appends the values to the existing list (if any).
|
FileCache |
withOwnerId(String ownerId) |
FileCache |
withResourceARN(String resourceARN) |
FileCache |
withStorageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
|
FileCache |
withSubnetIds(Collection<String> subnetIds) |
FileCache |
withSubnetIds(String... subnetIds)
NOTE: This method appends the values to the existing list (if any).
|
FileCache |
withVpcId(String vpcId) |
public void setOwnerId(String ownerId)
ownerId
- public String getOwnerId()
public FileCache withOwnerId(String ownerId)
ownerId
- public void setCreationTime(Date creationTime)
creationTime
- public Date getCreationTime()
public FileCache 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 FileCache 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 FileCache withFileCacheType(String fileCacheType)
The type of cache, which must be LUSTRE
.
fileCacheType
- The type of cache, which must be LUSTRE
.FileCacheType
public FileCache 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 FileCache 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 FileCache 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 FileCache 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.
failureDetails
- A structure providing details of any failures that occurred.public FileCacheFailureDetails getFailureDetails()
A structure providing details of any failures that occurred.
public FileCache withFailureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred.
failureDetails
- A structure providing details of any failures that occurred.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 FileCache 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 FileCache withVpcId(String vpcId)
vpcId
- public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- public FileCache 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 FileCache withSubnetIds(Collection<String> subnetIds)
subnetIds
- public void setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
networkInterfaceIds
- public FileCache 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 FileCache 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 FileCache 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 FileCache 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 FileCache withResourceARN(String resourceARN)
resourceARN
- 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 FileCache 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 FileCache 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 FileCache 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.