@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateImageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the image.
|
String |
getDisplayName()
The display name of the image.
|
String |
getImageName()
The name of the image.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
List<Tag> |
getTags()
A list of tags to apply to the image.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the image.
|
void |
setDisplayName(String displayName)
The display name of the image.
|
void |
setImageName(String imageName)
The name of the image.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to the image.
|
String |
toString()
Returns a string representation of this object.
|
CreateImageRequest |
withDescription(String description)
The description of the image.
|
CreateImageRequest |
withDisplayName(String displayName)
The display name of the image.
|
CreateImageRequest |
withImageName(String imageName)
The name of the image.
|
CreateImageRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
CreateImageRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to the image.
|
CreateImageRequest |
withTags(Tag... tags)
A list of tags to apply to the image.
|
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 setDescription(String description)
The description of the image.
description
- The description of the image.public String getDescription()
The description of the image.
public CreateImageRequest withDescription(String description)
The description of the image.
description
- The description of the image.public void setDisplayName(String displayName)
The display name of the image. If not provided, ImageName
is displayed.
displayName
- The display name of the image. If not provided, ImageName
is displayed.public String getDisplayName()
The display name of the image. If not provided, ImageName
is displayed.
ImageName
is displayed.public CreateImageRequest withDisplayName(String displayName)
The display name of the image. If not provided, ImageName
is displayed.
displayName
- The display name of the image. If not provided, ImageName
is displayed.public void setImageName(String imageName)
The name of the image. Must be unique to your account.
imageName
- The name of the image. Must be unique to your account.public String getImageName()
The name of the image. Must be unique to your account.
public CreateImageRequest withImageName(String imageName)
The name of the image. Must be unique to your account.
imageName
- The name of the image. Must be unique to your account.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your
behalf.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
public CreateImageRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your
behalf.public List<Tag> getTags()
A list of tags to apply to the image.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the image.
tags
- A list of tags to apply to the image.public CreateImageRequest withTags(Tag... tags)
A list of tags to apply to the image.
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
- A list of tags to apply to the image.public CreateImageRequest withTags(Collection<Tag> tags)
A list of tags to apply to the image.
tags
- A list of tags to apply to the image.public String toString()
toString
in class Object
Object.toString()
public CreateImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()