Class CfnDomain.DefaultEbsStorageSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.DefaultEbsStorageSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.DefaultEbsStorageSettingsProperty>
- Enclosing interface:
CfnDomain.DefaultEbsStorageSettingsProperty
@Stability(Stable)
public static final class CfnDomain.DefaultEbsStorageSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.DefaultEbsStorageSettingsProperty>
A builder for
CfnDomain.DefaultEbsStorageSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultEbsVolumeSizeInGb
(Number defaultEbsVolumeSizeInGb) maximumEbsVolumeSizeInGb
(Number maximumEbsVolumeSizeInGb)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultEbsVolumeSizeInGb
@Stability(Stable) public CfnDomain.DefaultEbsStorageSettingsProperty.Builder defaultEbsVolumeSizeInGb(Number defaultEbsVolumeSizeInGb) - Parameters:
defaultEbsVolumeSizeInGb
- The default size of the EBS storage volume for a space. This parameter is required.- Returns:
this
-
maximumEbsVolumeSizeInGb
@Stability(Stable) public CfnDomain.DefaultEbsStorageSettingsProperty.Builder maximumEbsVolumeSizeInGb(Number maximumEbsVolumeSizeInGb) - Parameters:
maximumEbsVolumeSizeInGb
- The maximum size of the 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<CfnDomain.DefaultEbsStorageSettingsProperty>
- Returns:
- a new instance of
CfnDomain.DefaultEbsStorageSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-