Class CfnFileCachePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnFileCachePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileCachePropsMixin>
- Enclosing class:
CfnFileCachePropsMixin
@Stability(Stable)
public static final class CfnFileCachePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileCachePropsMixin>
A fluent builder for
CfnFileCachePropsMixin.-
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.create()create(CfnPropertyMixinOptions options) dataRepositoryAssociations(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(CfnFileCachePropsMixin.LustreConfigurationProperty lustreConfiguration) lustreConfiguration(IResolvable 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 CfnFileCachePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnFileCachePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnFileCachePropsMixin.Builder.
-
copyTagsToDataRepositoryAssociations
@Stability(Stable) public CfnFileCachePropsMixin.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 CfnFileCachePropsMixin.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 CfnFileCachePropsMixin.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 CfnFileCachePropsMixin.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:
-
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
@Stability(Stable) public CfnFileCachePropsMixin.Builder fileCacheTypeVersion(String 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:
-
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
@Stability(Stable) public CfnFileCachePropsMixin.Builder lustreConfiguration(IResolvable lustreConfiguration) - Parameters:
lustreConfiguration- This parameter is required.- Returns:
this- See Also:
-
lustreConfiguration
@Stability(Stable) public CfnFileCachePropsMixin.Builder lustreConfiguration(CfnFileCachePropsMixin.LustreConfigurationProperty lustreConfiguration) - Parameters:
lustreConfiguration- This parameter is required.- Returns:
this- See Also:
-
securityGroupIds
@Stability(Stable) public CfnFileCachePropsMixin.Builder securityGroupIds(List<String> 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:
-
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:
-
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<CfnFileCachePropsMixin>- Returns:
- a newly built instance of
CfnFileCachePropsMixin.
-