public static interface FileCacheCreating.Builder extends SdkPojo, CopyableBuilder<FileCacheCreating.Builder,FileCacheCreating>
| Modifier and Type | Method and Description |
|---|---|
FileCacheCreating.Builder |
copyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations)
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
|
FileCacheCreating.Builder |
creationTime(Instant creationTime)
Sets the value of the CreationTime property for this object.
|
FileCacheCreating.Builder |
dataRepositoryAssociationIds(Collection<String> dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
FileCacheCreating.Builder |
dataRepositoryAssociationIds(String... dataRepositoryAssociationIds)
A list of IDs of data repository associations that are associated with this cache.
|
FileCacheCreating.Builder |
dnsName(String dnsName)
The Domain Name System (DNS) name for the cache.
|
default FileCacheCreating.Builder |
failureDetails(Consumer<FileCacheFailureDetails.Builder> failureDetails)
A structure providing details of any failures that occurred.
|
FileCacheCreating.Builder |
failureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred.
|
FileCacheCreating.Builder |
fileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
|
FileCacheCreating.Builder |
fileCacheType(FileCacheType fileCacheType)
The type of cache, which must be
LUSTRE. |
FileCacheCreating.Builder |
fileCacheType(String fileCacheType)
The type of cache, which must be
LUSTRE. |
FileCacheCreating.Builder |
fileCacheTypeVersion(String fileCacheTypeVersion)
The Lustre version of the cache, which must be
2.12. |
FileCacheCreating.Builder |
kmsKeyId(String kmsKeyId)
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache.
|
FileCacheCreating.Builder |
lifecycle(FileCacheLifecycle lifecycle)
The lifecycle status of the cache.
|
FileCacheCreating.Builder |
lifecycle(String lifecycle)
The lifecycle status of the cache.
|
default FileCacheCreating.Builder |
lustreConfiguration(Consumer<FileCacheLustreConfiguration.Builder> lustreConfiguration)
The configuration for the Amazon File Cache resource.
|
FileCacheCreating.Builder |
lustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
|
FileCacheCreating.Builder |
networkInterfaceIds(Collection<String> networkInterfaceIds)
Sets the value of the NetworkInterfaceIds property for this object.
|
FileCacheCreating.Builder |
networkInterfaceIds(String... networkInterfaceIds)
Sets the value of the NetworkInterfaceIds property for this object.
|
FileCacheCreating.Builder |
ownerId(String ownerId)
Sets the value of the OwnerId property for this object.
|
FileCacheCreating.Builder |
resourceARN(String resourceARN)
Sets the value of the ResourceARN property for this object.
|
FileCacheCreating.Builder |
storageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
|
FileCacheCreating.Builder |
subnetIds(Collection<String> subnetIds)
Sets the value of the SubnetIds property for this object.
|
FileCacheCreating.Builder |
subnetIds(String... subnetIds)
Sets the value of the SubnetIds property for this object.
|
FileCacheCreating.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
FileCacheCreating.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
FileCacheCreating.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
FileCacheCreating.Builder |
vpcId(String vpcId)
Sets the value of the VpcId property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFileCacheCreating.Builder ownerId(String ownerId)
ownerId - The new value for the OwnerId property for this object.FileCacheCreating.Builder creationTime(Instant creationTime)
creationTime - The new value for the CreationTime property for this object.FileCacheCreating.Builder fileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
fileCacheId - The system-generated, unique ID of the cache.FileCacheCreating.Builder fileCacheType(String fileCacheType)
The type of cache, which must be LUSTRE.
fileCacheType - The type of cache, which must be LUSTRE.FileCacheType,
FileCacheTypeFileCacheCreating.Builder fileCacheType(FileCacheType fileCacheType)
The type of cache, which must be LUSTRE.
fileCacheType - The type of cache, which must be LUSTRE.FileCacheType,
FileCacheTypeFileCacheCreating.Builder fileCacheTypeVersion(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.FileCacheCreating.Builder lifecycle(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,
FileCacheLifecycleFileCacheCreating.Builder lifecycle(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,
FileCacheLifecycleFileCacheCreating.Builder failureDetails(FileCacheFailureDetails failureDetails)
A structure providing details of any failures that occurred.
failureDetails - A structure providing details of any failures that occurred.default FileCacheCreating.Builder failureDetails(Consumer<FileCacheFailureDetails.Builder> failureDetails)
A structure providing details of any failures that occurred.
This is a convenience method that creates an instance of theFileCacheFailureDetails.Builder avoiding
the need to create one manually via FileCacheFailureDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to failureDetails(FileCacheFailureDetails).
failureDetails - a consumer that will call methods on FileCacheFailureDetails.BuilderfailureDetails(FileCacheFailureDetails)FileCacheCreating.Builder storageCapacity(Integer storageCapacity)
The storage capacity of the cache in gibibytes (GiB).
storageCapacity - The storage capacity of the cache in gibibytes (GiB).FileCacheCreating.Builder vpcId(String vpcId)
vpcId - The new value for the VpcId property for this object.FileCacheCreating.Builder subnetIds(Collection<String> subnetIds)
subnetIds - The new value for the SubnetIds property for this object.FileCacheCreating.Builder subnetIds(String... subnetIds)
subnetIds - The new value for the SubnetIds property for this object.FileCacheCreating.Builder networkInterfaceIds(Collection<String> networkInterfaceIds)
networkInterfaceIds - The new value for the NetworkInterfaceIds property for this object.FileCacheCreating.Builder networkInterfaceIds(String... networkInterfaceIds)
networkInterfaceIds - The new value for the NetworkInterfaceIds property for this object.FileCacheCreating.Builder dnsName(String dnsName)
The Domain Name System (DNS) name for the cache.
dnsName - The Domain Name System (DNS) name for the cache.FileCacheCreating.Builder kmsKeyId(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.FileCacheCreating.Builder resourceARN(String resourceARN)
resourceARN - The new value for the ResourceARN property for this object.FileCacheCreating.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.FileCacheCreating.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.FileCacheCreating.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) FileCacheCreating.Builder copyTagsToDataRepositoryAssociations(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.FileCacheCreating.Builder lustreConfiguration(FileCacheLustreConfiguration lustreConfiguration)
The configuration for the Amazon File Cache resource.
lustreConfiguration - The configuration for the Amazon File Cache resource.default FileCacheCreating.Builder lustreConfiguration(Consumer<FileCacheLustreConfiguration.Builder> lustreConfiguration)
The configuration for the Amazon File Cache resource.
This is a convenience method that creates an instance of theFileCacheLustreConfiguration.Builder
avoiding the need to create one manually via FileCacheLustreConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to lustreConfiguration(FileCacheLustreConfiguration).
lustreConfiguration - a consumer that will call methods on FileCacheLustreConfiguration.BuilderlustreConfiguration(FileCacheLustreConfiguration)FileCacheCreating.Builder dataRepositoryAssociationIds(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.FileCacheCreating.Builder dataRepositoryAssociationIds(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.Copyright © 2023. All rights reserved.