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