@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckpointConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the output location for managed spot training checkpoint data.
Constructor and Description |
---|
CheckpointConfig() |
Modifier and Type | Method and Description |
---|---|
CheckpointConfig |
clone() |
boolean |
equals(Object obj) |
String |
getLocalPath()
(Optional) The local directory where checkpoints are written.
|
String |
getS3Uri()
Identifies the S3 path where you want SageMaker to store checkpoints.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLocalPath(String localPath)
(Optional) The local directory where checkpoints are written.
|
void |
setS3Uri(String s3Uri)
Identifies the S3 path where you want SageMaker to store checkpoints.
|
String |
toString()
Returns a string representation of this object.
|
CheckpointConfig |
withLocalPath(String localPath)
(Optional) The local directory where checkpoints are written.
|
CheckpointConfig |
withS3Uri(String s3Uri)
Identifies the S3 path where you want SageMaker to store checkpoints.
|
public void setS3Uri(String s3Uri)
Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.
s3Uri
- Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.public String getS3Uri()
Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.
s3://bucket-name/key-name-prefix
.public CheckpointConfig withS3Uri(String s3Uri)
Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.
s3Uri
- Identifies the S3 path where you want SageMaker to store checkpoints. For example,
s3://bucket-name/key-name-prefix
.public void setLocalPath(String localPath)
(Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.
localPath
- (Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.public String getLocalPath()
(Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.
/opt/ml/checkpoints/
.public CheckpointConfig withLocalPath(String localPath)
(Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.
localPath
- (Optional) The local directory where checkpoints are written. The default directory is
/opt/ml/checkpoints/
.public String toString()
toString
in class Object
Object.toString()
public CheckpointConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.