Class SourceAlgorithm
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.SourceAlgorithm
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
@Generated("software.amazon.awssdk:codegen") public final class SourceAlgorithm extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceAlgorithm.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalgorithmName()The name of an algorithm that was used to create the model package.static SourceAlgorithm.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelDataETag()The ETag associated with Model Data URL.ModelDataSourcemodelDataSource()Specifies the location of ML model data to deploy during endpoint creation.StringmodelDataUrl()The Amazon S3 path where the model artifacts, which result from model training, are stored.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceAlgorithm.Builder>serializableBuilderClass()SourceAlgorithm.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
-
modelDataUrl
public final String modelDataUrl()
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single
gzipcompressed tar archive (.tar.gzsuffix).The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
- Returns:
- The Amazon S3 path where the model artifacts, which result from model training, are stored. This path
must point to a single
gzipcompressed tar archive (.tar.gzsuffix).The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
-
modelDataSource
public final ModelDataSource modelDataSource()
Specifies the location of ML model data to deploy during endpoint creation.
- Returns:
- Specifies the location of ML model data to deploy during endpoint creation.
-
modelDataETag
public final String modelDataETag()
The ETag associated with Model Data URL.
- Returns:
- The ETag associated with Model Data URL.
-
algorithmName
public final String algorithmName()
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
- Returns:
- The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
-
toBuilder
public SourceAlgorithm.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
-
builder
public static SourceAlgorithm.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceAlgorithm.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
-
-