Class CfnFileCache.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnFileCache.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileCache>
- Enclosing class:
CfnFileCache
@Stability(Stable)
public static final class CfnFileCache.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileCache>
A fluent builder for
CfnFileCache.-
Method Summary
Modifier and TypeMethodDescriptionbuild()copyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations) Whether tags should be copied to data repository associations.copyTagsToDataRepositoryAssociations(IResolvable copyTagsToDataRepositoryAssociations) Whether tags should be copied to data repository associations.static CfnFileCache.BuilderdataRepositoryAssociations(List<? extends Object> dataRepositoryAssociations) Data repository associations for the cache.dataRepositoryAssociations(IResolvable dataRepositoryAssociations) Data repository associations for the cache.fileCacheType(String fileCacheType) The type of cache, which must be LUSTRE.fileCacheTypeVersion(String fileCacheTypeVersion) The Lustre version of the cache, which must be 2.12.The KMS key ID for encrypting data.lustreConfiguration(IResolvable lustreConfiguration) lustreConfiguration(CfnFileCache.LustreConfigurationProperty lustreConfiguration) securityGroupIds(List<String> securityGroupIds) A list of security group IDs for the cache.storageCapacity(Number storageCapacity) The storage capacity of the cache in gibibytes (GiB).A list of subnet IDs for the cache.Tags to associate with the file cache.
-
Method Details
-
create
@Stability(Stable) public static CfnFileCache.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFileCache.Builder.
-
fileCacheType
The type of cache, which must be LUSTRE.- Parameters:
fileCacheType- The type of cache, which must be LUSTRE. This parameter is required.- Returns:
this- See Also:
-
fileCacheTypeVersion
The Lustre version of the cache, which must be 2.12.- Parameters:
fileCacheTypeVersion- The Lustre version of the cache, which must be 2.12. This parameter is required.- Returns:
this- See Also:
-
storageCapacity
The storage capacity of the cache in gibibytes (GiB).- Parameters:
storageCapacity- The storage capacity of the cache in gibibytes (GiB). This parameter is required.- Returns:
this- See Also:
-
subnetIds
A list of subnet IDs for the cache.- Parameters:
subnetIds- A list of subnet IDs for the cache. This parameter is required.- Returns:
this- See Also:
-
copyTagsToDataRepositoryAssociations
@Stability(Stable) public CfnFileCache.Builder copyTagsToDataRepositoryAssociations(Boolean copyTagsToDataRepositoryAssociations) Whether tags should be copied to data repository associations.- Parameters:
copyTagsToDataRepositoryAssociations- Whether tags should be copied to data repository associations. This parameter is required.- Returns:
this- See Also:
-
copyTagsToDataRepositoryAssociations
@Stability(Stable) public CfnFileCache.Builder copyTagsToDataRepositoryAssociations(IResolvable copyTagsToDataRepositoryAssociations) Whether tags should be copied to data repository associations.- Parameters:
copyTagsToDataRepositoryAssociations- Whether tags should be copied to data repository associations. This parameter is required.- Returns:
this- See Also:
-
dataRepositoryAssociations
@Stability(Stable) public CfnFileCache.Builder dataRepositoryAssociations(IResolvable dataRepositoryAssociations) Data repository associations for the cache.- Parameters:
dataRepositoryAssociations- Data repository associations for the cache. This parameter is required.- Returns:
this- See Also:
-
dataRepositoryAssociations
@Stability(Stable) public CfnFileCache.Builder dataRepositoryAssociations(List<? extends Object> dataRepositoryAssociations) Data repository associations for the cache.- Parameters:
dataRepositoryAssociations- Data repository associations for the cache. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The KMS key ID for encrypting data.- Parameters:
kmsKeyId- The KMS key ID for encrypting data. This parameter is required.- Returns:
this- See Also:
-
lustreConfiguration
- Parameters:
lustreConfiguration- This parameter is required.- Returns:
this- See Also:
-
lustreConfiguration
@Stability(Stable) public CfnFileCache.Builder lustreConfiguration(CfnFileCache.LustreConfigurationProperty lustreConfiguration) - Parameters:
lustreConfiguration- This parameter is required.- Returns:
this- See Also:
-
securityGroupIds
A list of security group IDs for the cache.- Parameters:
securityGroupIds- A list of security group IDs for the cache. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to associate with the file cache.- Parameters:
tags- Tags to associate with the file cache. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileCache>- Returns:
- a newly built instance of
CfnFileCache.
-