Interface ClusterEbsVolumeConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterEbsVolumeConfig.Builder,
,ClusterEbsVolumeConfig> SdkBuilder<ClusterEbsVolumeConfig.Builder,
,ClusterEbsVolumeConfig> SdkPojo
- Enclosing class:
ClusterEbsVolumeConfig
-
Method Summary
Modifier and TypeMethodDescriptionrootVolume
(Boolean rootVolume) Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume.volumeKmsKeyId
(String volumeKmsKeyId) The ID of a KMS key to encrypt the Amazon EBS volume.volumeSizeInGB
(Integer volumeSizeInGB) The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
volumeSizeInGB
The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to
/opt/sagemaker
.- Parameters:
volumeSizeInGB
- The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to/opt/sagemaker
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeKmsKeyId
The ID of a KMS key to encrypt the Amazon EBS volume.
- Parameters:
volumeKmsKeyId
- The ID of a KMS key to encrypt the Amazon EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootVolume
Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two
ClusterEbsVolumeConfig
fields to configure both the root and secondary volumes. Set the value toTrue
if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. WhenTrue
:-
The configuration is applied to the root volume.
-
You can't specify the
VolumeSizeInGB
field. The size of the root volume is determined for you. -
You must specify a KMS key ID for
VolumeKmsKeyId
to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.
Otherwise, by default, the value is
False
, and the following applies:-
The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.
-
You must specify the
VolumeSizeInGB
field. -
You can optionally specify the
VolumeKmsKeyId
to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.
- Parameters:
rootVolume
- Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify twoClusterEbsVolumeConfig
fields to configure both the root and secondary volumes. Set the value toTrue
if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. WhenTrue
:-
The configuration is applied to the root volume.
-
You can't specify the
VolumeSizeInGB
field. The size of the root volume is determined for you. -
You must specify a KMS key ID for
VolumeKmsKeyId
to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.
Otherwise, by default, the value is
False
, and the following applies:-
The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.
-
You must specify the
VolumeSizeInGB
field. -
You can optionally specify the
VolumeKmsKeyId
to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-