Class ClusterInstanceStorageConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ClusterInstanceStorageConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ClusterInstanceStorageConfig.Builder,ClusterInstanceStorageConfig>
@Generated("software.amazon.awssdk:codegen") public final class ClusterInstanceStorageConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterInstanceStorageConfig.Builder,ClusterInstanceStorageConfig>
Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClusterInstanceStorageConfig.Builder
static class
ClusterInstanceStorageConfig.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterInstanceStorageConfig.Builder
builder()
ClusterEbsVolumeConfig
ebsVolumeConfig()
Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
static ClusterInstanceStorageConfig
fromEbsVolumeConfig(Consumer<ClusterEbsVolumeConfig.Builder> ebsVolumeConfig)
Create an instance of this class withebsVolumeConfig()
initialized to the given value.static ClusterInstanceStorageConfig
fromEbsVolumeConfig(ClusterEbsVolumeConfig ebsVolumeConfig)
Create an instance of this class withebsVolumeConfig()
initialized to the given value.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ClusterInstanceStorageConfig.Builder>
serializableBuilderClass()
ClusterInstanceStorageConfig.Builder
toBuilder()
String
toString()
Returns a string representation of this object.ClusterInstanceStorageConfig.Type
type()
Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ebsVolumeConfig
public final ClusterEbsVolumeConfig ebsVolumeConfig()
Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes 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:
- Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes 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
.
-
toBuilder
public ClusterInstanceStorageConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ClusterInstanceStorageConfig.Builder,ClusterInstanceStorageConfig>
-
builder
public static ClusterInstanceStorageConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterInstanceStorageConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromEbsVolumeConfig
public static ClusterInstanceStorageConfig fromEbsVolumeConfig(ClusterEbsVolumeConfig ebsVolumeConfig)
Create an instance of this class withebsVolumeConfig()
initialized to the given value.Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes 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:
ebsVolumeConfig
- Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes 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
.
-
fromEbsVolumeConfig
public static ClusterInstanceStorageConfig fromEbsVolumeConfig(Consumer<ClusterEbsVolumeConfig.Builder> ebsVolumeConfig)
Create an instance of this class withebsVolumeConfig()
initialized to the given value.Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes 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:
ebsVolumeConfig
- Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes 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
.
-
type
public ClusterInstanceStorageConfig.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beClusterInstanceStorageConfig.Type.UNKNOWN_TO_SDK_VERSION
if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beClusterInstanceStorageConfig.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-