@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 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 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 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 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 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 SageMaker account or an algorithm in Amazon Web Services Marketplace that you
are subscribed to.public String toString()
toString
in class Object
Object.toString()
public SourceAlgorithm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.