@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 AWS 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).
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).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).
gzip
compressed tar archive (.tar.gz
suffix).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).
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).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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.