@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelPackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateModelPackageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateModelPackageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getCertifyForMarketplace()
Whether to certify the model package for listing on AWS Marketplace.
|
InferenceSpecification |
getInferenceSpecification()
Specifies details about inference jobs that can be run with models based on this model package, including the
following:
|
String |
getModelPackageDescription()
A description of the model package.
|
String |
getModelPackageName()
The name of the model package.
|
SourceAlgorithmSpecification |
getSourceAlgorithmSpecification()
Details about the algorithm that was used to create the model package.
|
ModelPackageValidationSpecification |
getValidationSpecification()
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
int |
hashCode() |
Boolean |
isCertifyForMarketplace()
Whether to certify the model package for listing on AWS Marketplace.
|
void |
setCertifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the model package for listing on AWS Marketplace.
|
void |
setInferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the
following:
|
void |
setModelPackageDescription(String modelPackageDescription)
A description of the model package.
|
void |
setModelPackageName(String modelPackageName)
The name of the model package.
|
void |
setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
|
void |
setValidationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
String |
toString()
Returns a string representation of this object.
|
CreateModelPackageRequest |
withCertifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the model package for listing on AWS Marketplace.
|
CreateModelPackageRequest |
withInferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the
following:
|
CreateModelPackageRequest |
withModelPackageDescription(String modelPackageDescription)
A description of the model package.
|
CreateModelPackageRequest |
withModelPackageName(String modelPackageName)
The name of the model package.
|
CreateModelPackageRequest |
withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
|
CreateModelPackageRequest |
withValidationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setModelPackageName(String modelPackageName)
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
modelPackageName
- The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9,
and - (hyphen).public String getModelPackageName()
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
public CreateModelPackageRequest withModelPackageName(String modelPackageName)
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
modelPackageName
- The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9,
and - (hyphen).public void setModelPackageDescription(String modelPackageDescription)
A description of the model package.
modelPackageDescription
- A description of the model package.public String getModelPackageDescription()
A description of the model package.
public CreateModelPackageRequest withModelPackageDescription(String modelPackageDescription)
A description of the model package.
modelPackageDescription
- A description of the model package.public void setInferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
inferenceSpecification
- Specifies details about inference jobs that can be run with models based on this model package, including
the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
public InferenceSpecification getInferenceSpecification()
Specifies details about inference jobs that can be run with models based on this model package, including the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
public CreateModelPackageRequest withInferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that can be run with models based on this model package, including the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
inferenceSpecification
- Specifies details about inference jobs that can be run with models based on this model package, including
the following:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
public void setValidationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
validationSpecification
- Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model
package.public ModelPackageValidationSpecification getValidationSpecification()
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
public CreateModelPackageRequest withValidationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
validationSpecification
- Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model
package.public void setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
sourceAlgorithmSpecification
- Details about the algorithm that was used to create the model package.public SourceAlgorithmSpecification getSourceAlgorithmSpecification()
Details about the algorithm that was used to create the model package.
public CreateModelPackageRequest withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
sourceAlgorithmSpecification
- Details about the algorithm that was used to create the model package.public void setCertifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the model package for listing on AWS Marketplace.
certifyForMarketplace
- Whether to certify the model package for listing on AWS Marketplace.public Boolean getCertifyForMarketplace()
Whether to certify the model package for listing on AWS Marketplace.
public CreateModelPackageRequest withCertifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the model package for listing on AWS Marketplace.
certifyForMarketplace
- Whether to certify the model package for listing on AWS Marketplace.public Boolean isCertifyForMarketplace()
Whether to certify the model package for listing on AWS Marketplace.
public String toString()
toString
in class Object
Object.toString()
public CreateModelPackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.