Class CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.PersistentVolumeConfigurationProperty>
- Enclosing interface:
CfnFleetPropsMixin.PersistentVolumeConfigurationProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.PersistentVolumeConfigurationProperty>
A builder for
CfnFleetPropsMixin.PersistentVolumeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFleetPropsMixin.PersistentVolumeConfigurationProperty.getIops()lastUsedTtlHours(Number lastUsedTtlHours) Sets the value ofCfnFleetPropsMixin.PersistentVolumeConfigurationProperty.getMountPath()Sets the value ofCfnFleetPropsMixin.PersistentVolumeConfigurationProperty.getSizeGiB()throughputMiB(Number throughputMiB)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iops
@Stability(Stable) public CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder iops(Number iops) Sets the value ofCfnFleetPropsMixin.PersistentVolumeConfigurationProperty.getIops()- Parameters:
iops- the value to be set.- Returns:
this
-
lastUsedTtlHours
@Stability(Stable) public CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder lastUsedTtlHours(Number lastUsedTtlHours) - Parameters:
lastUsedTtlHours- the value to be set.- Returns:
this
-
mountPath
@Stability(Stable) public CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder mountPath(String mountPath) Sets the value ofCfnFleetPropsMixin.PersistentVolumeConfigurationProperty.getMountPath()- Parameters:
mountPath- the value to be set.- Returns:
this
-
sizeGiB
@Stability(Stable) public CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder sizeGiB(Number sizeGiB) Sets the value ofCfnFleetPropsMixin.PersistentVolumeConfigurationProperty.getSizeGiB()- Parameters:
sizeGiB- the value to be set.- Returns:
this
-
throughputMiB
@Stability(Stable) public CfnFleetPropsMixin.PersistentVolumeConfigurationProperty.Builder throughputMiB(Number throughputMiB) - Parameters:
throughputMiB- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.PersistentVolumeConfigurationProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.PersistentVolumeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-