Class ModelArtifacts
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ModelArtifacts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelArtifacts.Builder,ModelArtifacts>
@Generated("software.amazon.awssdk:codegen") public final class ModelArtifacts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelArtifacts.Builder,ModelArtifacts>
Provides information about the location that is configured for storing model artifacts.
Model artifacts are outputs that result from training a model. They typically consist of trained parameters, a model definition that describes how to compute inferences, and other metadata. A SageMaker container stores your trained model artifacts in the
/opt/ml/modeldirectory. After training has completed, by default, these artifacts are uploaded to your Amazon S3 bucket as compressed files.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelArtifacts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelArtifacts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Strings3ModelArtifacts()The path of the S3 object that contains the model artifacts.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModelArtifacts.Builder>serializableBuilderClass()ModelArtifacts.BuildertoBuilder()StringtoString()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
-
s3ModelArtifacts
public final String s3ModelArtifacts()
The path of the S3 object that contains the model artifacts. For example,
s3://bucket-name/keynameprefix/model.tar.gz.- Returns:
- The path of the S3 object that contains the model artifacts. For example,
s3://bucket-name/keynameprefix/model.tar.gz.
-
toBuilder
public ModelArtifacts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelArtifacts.Builder,ModelArtifacts>
-
builder
public static ModelArtifacts.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelArtifacts.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-