@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateModelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and
docker image for deployment on ML compute instances.
|
String |
getModelName()
The name of the new model.
|
ContainerDefinition |
getPrimaryContainer()
The location of the primary docker image containing inference code, associated artifacts, and custom environment
map that the inference code uses when the model is deployed into production.
|
List<Tag> |
getTags()
An array of key-value pairs.
|
int |
hashCode() |
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and
docker image for deployment on ML compute instances.
|
void |
setModelName(String modelName)
The name of the new model.
|
void |
setPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom environment
map that the inference code uses when the model is deployed into production.
|
void |
setTags(Collection<Tag> tags)
An array of key-value pairs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateModelRequest |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and
docker image for deployment on ML compute instances.
|
CreateModelRequest |
withModelName(String modelName)
The name of the new model.
|
CreateModelRequest |
withPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom environment
map that the inference code uses when the model is deployed into production.
|
CreateModelRequest |
withTags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateModelRequest |
withTags(Tag... tags)
An array of key-value pairs.
|
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 setModelName(String modelName)
The name of the new model.
modelName
- The name of the new model.public String getModelName()
The name of the new model.
public CreateModelRequest withModelName(String modelName)
The name of the new model.
modelName
- The name of the new model.public void setPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed into production.
primaryContainer
- The location of the primary docker image containing inference code, associated artifacts, and custom
environment map that the inference code uses when the model is deployed into production.public ContainerDefinition getPrimaryContainer()
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed into production.
public CreateModelRequest withPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed into production.
primaryContainer
- The location of the primary docker image containing inference code, associated artifacts, and custom
environment map that the inference code uses when the model is deployed into production.public void setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles.
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts
and docker image for deployment on ML compute instances. Deploying on ML compute instances is part of
model hosting. For more information, see Amazon SageMaker Roles.public String getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles.
public CreateModelRequest withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles.
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts
and docker image for deployment on ML compute instances. Deploying on ML compute instances is part of
model hosting. For more information, see Amazon SageMaker Roles.public List<Tag> getTags()
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
public void setTags(Collection<Tag> tags)
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
tags
- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.public CreateModelRequest withTags(Tag... tags)
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.public CreateModelRequest withTags(Collection<Tag> tags)
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
tags
- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.public String toString()
toString
in class Object
Object.toString()
public CreateModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.