@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkspaceImageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceImageRequest |
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 new WorkSpace image.
|
String |
getName()
The name of the new WorkSpace image.
|
List<Tag> |
getTags()
The tags that you want to add to the new WorkSpace image.
|
String |
getWorkspaceId()
The identifier of the source WorkSpace
|
int |
hashCode() |
void |
setDescription(String description)
The description of the new WorkSpace image.
|
void |
setName(String name)
The name of the new WorkSpace image.
|
void |
setTags(Collection<Tag> tags)
The tags that you want to add to the new WorkSpace image.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the source WorkSpace
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceImageRequest |
withDescription(String description)
The description of the new WorkSpace image.
|
CreateWorkspaceImageRequest |
withName(String name)
The name of the new WorkSpace image.
|
CreateWorkspaceImageRequest |
withTags(Collection<Tag> tags)
The tags that you want to add to the new WorkSpace image.
|
CreateWorkspaceImageRequest |
withTags(Tag... tags)
The tags that you want to add to the new WorkSpace image.
|
CreateWorkspaceImageRequest |
withWorkspaceId(String workspaceId)
The identifier of the source WorkSpace
|
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 setName(String name)
The name of the new WorkSpace image.
name
- The name of the new WorkSpace image.public String getName()
The name of the new WorkSpace image.
public CreateWorkspaceImageRequest withName(String name)
The name of the new WorkSpace image.
name
- The name of the new WorkSpace image.public void setDescription(String description)
The description of the new WorkSpace image.
description
- The description of the new WorkSpace image.public String getDescription()
The description of the new WorkSpace image.
public CreateWorkspaceImageRequest withDescription(String description)
The description of the new WorkSpace image.
description
- The description of the new WorkSpace image.public void setWorkspaceId(String workspaceId)
The identifier of the source WorkSpace
workspaceId
- The identifier of the source WorkSpacepublic String getWorkspaceId()
The identifier of the source WorkSpace
public CreateWorkspaceImageRequest withWorkspaceId(String workspaceId)
The identifier of the source WorkSpace
workspaceId
- The identifier of the source WorkSpacepublic List<Tag> getTags()
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must
create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
workspaces:CreateTags
.public void setTags(Collection<Tag> tags)
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must
create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
tags
- The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you
must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.public CreateWorkspaceImageRequest withTags(Tag... tags)
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must
create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
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
- The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you
must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.public CreateWorkspaceImageRequest withTags(Collection<Tag> tags)
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must
create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
tags
- The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you
must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()