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 interface
SourceAlgorithm.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
algorithmName()
The name of an algorithm that was used to create the model package.static SourceAlgorithm.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ModelDataSource
modelDataSource()
Specifies the location of ML model data to deploy during endpoint creation.String
modelDataUrl()
The Amazon S3 path where the model artifacts, which result from model training, are stored.List<SdkField<?>>
sdkFields()
static Class<? extends SourceAlgorithm.Builder>
serializableBuilderClass()
SourceAlgorithm.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
-
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
gzip
compressed tar archive (.tar.gz
suffix).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
gzip
compressed tar archive (.tar.gz
suffix).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.
-
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:
toBuilder
in 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:
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.
-
-