Class CfnSpace.EbsStorageSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.EbsStorageSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.EbsStorageSettingsProperty>
- Enclosing interface:
CfnSpace.EbsStorageSettingsProperty
@Stability(Stable)
public static final class CfnSpace.EbsStorageSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.EbsStorageSettingsProperty>
A builder for
CfnSpace.EbsStorageSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ebsVolumeSizeInGb
(Number ebsVolumeSizeInGb) Sets the value ofCfnSpace.EbsStorageSettingsProperty.getEbsVolumeSizeInGb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ebsVolumeSizeInGb
@Stability(Stable) public CfnSpace.EbsStorageSettingsProperty.Builder ebsVolumeSizeInGb(Number ebsVolumeSizeInGb) Sets the value ofCfnSpace.EbsStorageSettingsProperty.getEbsVolumeSizeInGb()
- Parameters:
ebsVolumeSizeInGb
- The size of an EBS storage volume for a space. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpace.EbsStorageSettingsProperty>
- Returns:
- a new instance of
CfnSpace.EbsStorageSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-