Class CfnTask.EphemeralStorageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnTask.EphemeralStorageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTask.EphemeralStorageConfigurationProperty>
- Enclosing interface:
CfnTask.EphemeralStorageConfigurationProperty
@Stability(Stable)
public static final class CfnTask.EphemeralStorageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTask.EphemeralStorageConfigurationProperty>
A builder for
CfnTask.EphemeralStorageConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.storageClass(String storageClass) Sets the value ofCfnTask.EphemeralStorageConfigurationProperty.getStorageClass()storageSizeInGiB(Number storageSizeInGiB) Sets the value ofCfnTask.EphemeralStorageConfigurationProperty.getStorageSizeInGiB()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storageClass
@Stability(Stable) public CfnTask.EphemeralStorageConfigurationProperty.Builder storageClass(String storageClass) Sets the value ofCfnTask.EphemeralStorageConfigurationProperty.getStorageClass()- Parameters:
storageClass- The storage type that determines I/O performance characteristics. This parameter is required. Family name indicates workload pattern, level number indicates performance within that family.- Returns:
this
-
storageSizeInGiB
@Stability(Stable) public CfnTask.EphemeralStorageConfigurationProperty.Builder storageSizeInGiB(Number storageSizeInGiB) Sets the value ofCfnTask.EphemeralStorageConfigurationProperty.getStorageSizeInGiB()- Parameters:
storageSizeInGiB- Storage volume size in GiB. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTask.EphemeralStorageConfigurationProperty>- Returns:
- a new instance of
CfnTask.EphemeralStorageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-