@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceAlgorithm extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
| Constructor and Description |
|---|
SourceAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
SourceAlgorithm |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithmName()
The name of an algorithm that was used to create the model package.
|
String |
getModelDataUrl()
The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAlgorithmName(String algorithmName)
The name of an algorithm that was used to create the model package.
|
void |
setModelDataUrl(String modelDataUrl)
The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
String |
toString()
Returns a string representation of this object.
|
SourceAlgorithm |
withAlgorithmName(String algorithmName)
The name of an algorithm that was used to create the model package.
|
SourceAlgorithm |
withModelDataUrl(String modelDataUrl)
The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
public void setModelDataUrl(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 region as the algorithm.
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 region as the algorithm.
public String getModelDataUrl()
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 region as the algorithm.
gzip compressed tar archive (.tar.gz suffix). The model artifacts must be in an S3 bucket that is in the same region as the algorithm.
public SourceAlgorithm withModelDataUrl(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 region as the algorithm.
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 region as the algorithm.
public void setAlgorithmName(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 Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
algorithmName - The name of an algorithm that was used to create the model package. The algorithm must be either an
algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace
that you are subscribed to.public String getAlgorithmName()
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
public SourceAlgorithm withAlgorithmName(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 Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
algorithmName - The name of an algorithm that was used to create the model package. The algorithm must be either an
algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace
that you are subscribed to.public String toString()
toString in class ObjectObject.toString()public SourceAlgorithm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.