Class CheckpointConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.CheckpointConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CheckpointConfig.Builder,CheckpointConfig>
@Generated("software.amazon.awssdk:codegen") public final class CheckpointConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CheckpointConfig.Builder,CheckpointConfig>
Contains information about the output location for managed spot training checkpoint data.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CheckpointConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CheckpointConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
localPath()
(Optional) The local directory where checkpoints are written.String
s3Uri()
Identifies the S3 path where you want SageMaker to store checkpoints.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CheckpointConfig.Builder>
serializableBuilderClass()
CheckpointConfig.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
-
s3Uri
public final String s3Uri()
Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.- Returns:
- Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.
-
localPath
public final String localPath()
(Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.- Returns:
- (Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.
-
toBuilder
public CheckpointConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CheckpointConfig.Builder,CheckpointConfig>
-
builder
public static CheckpointConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends CheckpointConfig.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
-
-