@Generated(value="software.amazon.awssdk:codegen") public final class FileCacheCreating extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileCacheCreating.Builder,FileCacheCreating>
The response object for the Amazon File Cache resource being created in the CreateFileCache operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileCacheCreating.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FileCacheCreating.Builder |
builder() |
Boolean |
copyTagsToDataRepositoryAssociations()
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
|
Instant |
creationTime()
Returns the value of the CreationTime property for this object.
|
List<String> |
dataRepositoryAssociationIds()
A list of IDs of data repository associations that are associated with this cache.
|
String |
dnsName()
The Domain Name System (DNS) name for the cache.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FileCacheFailureDetails |
failureDetails()
A structure providing details of any failures that occurred.
|
String |
fileCacheId()
The system-generated, unique ID of the cache.
|
FileCacheType |
fileCacheType()
The type of cache, which must be
LUSTRE. |
String |
fileCacheTypeAsString()
The type of cache, which must be
LUSTRE. |
String |
fileCacheTypeVersion()
The Lustre version of the cache, which must be
2.12. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDataRepositoryAssociationIds()
For responses, this returns true if the service returned a value for the DataRepositoryAssociationIds property.
|
int |
hashCode() |
boolean |
hasNetworkInterfaceIds()
For responses, this returns true if the service returned a value for the NetworkInterfaceIds property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
kmsKeyId()
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache.
|
FileCacheLifecycle |
lifecycle()
The lifecycle status of the cache.
|
String |
lifecycleAsString()
The lifecycle status of the cache.
|
FileCacheLustreConfiguration |
lustreConfiguration()
The configuration for the Amazon File Cache resource.
|
List<String> |
networkInterfaceIds()
Returns the value of the NetworkInterfaceIds property for this object.
|
String |
ownerId()
Returns the value of the OwnerId property for this object.
|
String |
resourceARN()
Returns the value of the ResourceARN property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FileCacheCreating.Builder> |
serializableBuilderClass() |
Integer |
storageCapacity()
The storage capacity of the cache in gibibytes (GiB).
|
List<String> |
subnetIds()
Returns the value of the SubnetIds property for this object.
|
List<Tag> |
tags()
Returns the value of the Tags property for this object.
|
FileCacheCreating.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
Returns the value of the VpcId property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ownerId()
public final Instant creationTime()
public final String fileCacheId()
The system-generated, unique ID of the cache.
public final FileCacheType fileCacheType()
The type of cache, which must be LUSTRE.
If the service returns an enum value that is not available in the current SDK version, fileCacheType
will return FileCacheType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileCacheTypeAsString().
LUSTRE.FileCacheTypepublic final String fileCacheTypeAsString()
The type of cache, which must be LUSTRE.
If the service returns an enum value that is not available in the current SDK version, fileCacheType
will return FileCacheType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileCacheTypeAsString().
LUSTRE.FileCacheTypepublic final String fileCacheTypeVersion()
The Lustre version of the cache, which must be 2.12.
2.12.public final 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.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return FileCacheLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
lifecycleAsString().
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.
FileCacheLifecyclepublic final String lifecycleAsString()
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.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return FileCacheLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
lifecycleAsString().
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.
FileCacheLifecyclepublic final FileCacheFailureDetails failureDetails()
A structure providing details of any failures that occurred.
public final Integer storageCapacity()
The storage capacity of the cache in gibibytes (GiB).
public final String vpcId()
public final boolean hasSubnetIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> subnetIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnetIds() method.
public final boolean hasNetworkInterfaceIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> networkInterfaceIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNetworkInterfaceIds() method.
public final String dnsName()
The Domain Name System (DNS) name for the cache.
public final 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 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 final String resourceARN()
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final Boolean copyTagsToDataRepositoryAssociations()
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
public final FileCacheLustreConfiguration lustreConfiguration()
The configuration for the Amazon File Cache resource.
public final boolean hasDataRepositoryAssociationIds()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> dataRepositoryAssociationIds()
A list of IDs of data repository associations that are associated with this cache.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDataRepositoryAssociationIds() method.
public FileCacheCreating.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FileCacheCreating.Builder,FileCacheCreating>public static FileCacheCreating.Builder builder()
public static Class<? extends FileCacheCreating.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.