Class CfnFileCache.LustreConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnFileCache.LustreConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileCache.LustreConfigurationProperty>
- Enclosing interface:
CfnFileCache.LustreConfigurationProperty
@Stability(Stable)
public static final class CfnFileCache.LustreConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileCache.LustreConfigurationProperty>
A builder for
CfnFileCache.LustreConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deploymentType(String deploymentType) Sets the value ofCfnFileCache.LustreConfigurationProperty.getDeploymentType()logConfiguration(IResolvable logConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getLogConfiguration()logConfiguration(CfnFileCache.LogConfigurationProperty logConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getLogConfiguration()metadataConfiguration(IResolvable metadataConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getMetadataConfiguration()metadataConfiguration(CfnFileCache.MetadataConfigurationProperty metadataConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getMetadataConfiguration()Sets the value ofCfnFileCache.LustreConfigurationProperty.getMountName()perUnitStorageThroughput(Number perUnitStorageThroughput) Sets the value ofCfnFileCache.LustreConfigurationProperty.getPerUnitStorageThroughput()weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) Sets the value ofCfnFileCache.LustreConfigurationProperty.getWeeklyMaintenanceStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentType
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder deploymentType(String deploymentType) Sets the value ofCfnFileCache.LustreConfigurationProperty.getDeploymentType()- Parameters:
deploymentType- the value to be set. This parameter is required.- Returns:
this
-
metadataConfiguration
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder metadataConfiguration(IResolvable metadataConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getMetadataConfiguration()- Parameters:
metadataConfiguration- the value to be set. This parameter is required.- Returns:
this
-
metadataConfiguration
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder metadataConfiguration(CfnFileCache.MetadataConfigurationProperty metadataConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getMetadataConfiguration()- Parameters:
metadataConfiguration- the value to be set. This parameter is required.- Returns:
this
-
perUnitStorageThroughput
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder perUnitStorageThroughput(Number perUnitStorageThroughput) Sets the value ofCfnFileCache.LustreConfigurationProperty.getPerUnitStorageThroughput()- Parameters:
perUnitStorageThroughput- the value to be set. This parameter is required.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder logConfiguration(IResolvable logConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getLogConfiguration()- Parameters:
logConfiguration- the value to be set.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder logConfiguration(CfnFileCache.LogConfigurationProperty logConfiguration) Sets the value ofCfnFileCache.LustreConfigurationProperty.getLogConfiguration()- Parameters:
logConfiguration- the value to be set.- Returns:
this
-
mountName
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder mountName(String mountName) Sets the value ofCfnFileCache.LustreConfigurationProperty.getMountName()- Parameters:
mountName- the value to be set.- Returns:
this
-
weeklyMaintenanceStartTime
@Stability(Stable) public CfnFileCache.LustreConfigurationProperty.Builder weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) Sets the value ofCfnFileCache.LustreConfigurationProperty.getWeeklyMaintenanceStartTime()- Parameters:
weeklyMaintenanceStartTime- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileCache.LustreConfigurationProperty>- Returns:
- a new instance of
CfnFileCache.LustreConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-