Class ClusterLifeCycleConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ClusterLifeCycleConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ClusterLifeCycleConfig.Builder,ClusterLifeCycleConfig>
@Generated("software.amazon.awssdk:codegen") public final class ClusterLifeCycleConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterLifeCycleConfig.Builder,ClusterLifeCycleConfig>
The lifecycle configuration for a SageMaker HyperPod cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClusterLifeCycleConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterLifeCycleConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
onCreate()
The file name of the entrypoint script of lifecycle scripts underSourceS3Uri
.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ClusterLifeCycleConfig.Builder>
serializableBuilderClass()
String
sourceS3Uri()
An Amazon S3 bucket path where your lifecycle scripts are stored.ClusterLifeCycleConfig.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
sourceS3Uri
public final String sourceS3Uri()
An Amazon S3 bucket path where your lifecycle scripts are stored.
Make sure that the S3 bucket path starts with
s3://sagemaker-
. The IAM role for SageMaker HyperPod has the managedAmazonSageMakerClusterInstanceRolePolicy
attached, which allows access to S3 buckets with the specific prefixsagemaker-
.- Returns:
- An Amazon S3 bucket path where your lifecycle scripts are stored.
Make sure that the S3 bucket path starts with
s3://sagemaker-
. The IAM role for SageMaker HyperPod has the managedAmazonSageMakerClusterInstanceRolePolicy
attached, which allows access to S3 buckets with the specific prefixsagemaker-
.
-
onCreate
public final String onCreate()
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri
. This entrypoint script runs during cluster creation.- Returns:
- The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri
. This entrypoint script runs during cluster creation.
-
toBuilder
public ClusterLifeCycleConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ClusterLifeCycleConfig.Builder,ClusterLifeCycleConfig>
-
builder
public static ClusterLifeCycleConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterLifeCycleConfig.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-