@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceBundleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkspaceBundleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceBundleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBundleDescription()
The description of the bundle.
|
String |
getBundleName()
The name of the bundle.
|
ComputeType |
getComputeType() |
String |
getImageId()
The identifier of the image that is used to create the bundle.
|
RootStorage |
getRootStorage() |
List<Tag> |
getTags()
The tags associated with the bundle.
|
UserStorage |
getUserStorage() |
int |
hashCode() |
void |
setBundleDescription(String bundleDescription)
The description of the bundle.
|
void |
setBundleName(String bundleName)
The name of the bundle.
|
void |
setComputeType(ComputeType computeType) |
void |
setImageId(String imageId)
The identifier of the image that is used to create the bundle.
|
void |
setRootStorage(RootStorage rootStorage) |
void |
setTags(Collection<Tag> tags)
The tags associated with the bundle.
|
void |
setUserStorage(UserStorage userStorage) |
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceBundleRequest |
withBundleDescription(String bundleDescription)
The description of the bundle.
|
CreateWorkspaceBundleRequest |
withBundleName(String bundleName)
The name of the bundle.
|
CreateWorkspaceBundleRequest |
withComputeType(ComputeType computeType) |
CreateWorkspaceBundleRequest |
withImageId(String imageId)
The identifier of the image that is used to create the bundle.
|
CreateWorkspaceBundleRequest |
withRootStorage(RootStorage rootStorage) |
CreateWorkspaceBundleRequest |
withTags(Collection<Tag> tags)
The tags associated with the bundle.
|
CreateWorkspaceBundleRequest |
withTags(Tag... tags)
The tags associated with the bundle.
|
CreateWorkspaceBundleRequest |
withUserStorage(UserStorage userStorage) |
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 setBundleName(String bundleName)
The name of the bundle.
bundleName
- The name of the bundle.public String getBundleName()
The name of the bundle.
public CreateWorkspaceBundleRequest withBundleName(String bundleName)
The name of the bundle.
bundleName
- The name of the bundle.public void setBundleDescription(String bundleDescription)
The description of the bundle.
bundleDescription
- The description of the bundle.public String getBundleDescription()
The description of the bundle.
public CreateWorkspaceBundleRequest withBundleDescription(String bundleDescription)
The description of the bundle.
bundleDescription
- The description of the bundle.public void setImageId(String imageId)
The identifier of the image that is used to create the bundle.
imageId
- The identifier of the image that is used to create the bundle.public String getImageId()
The identifier of the image that is used to create the bundle.
public CreateWorkspaceBundleRequest withImageId(String imageId)
The identifier of the image that is used to create the bundle.
imageId
- The identifier of the image that is used to create the bundle.public void setComputeType(ComputeType computeType)
computeType
- public ComputeType getComputeType()
public CreateWorkspaceBundleRequest withComputeType(ComputeType computeType)
computeType
- public void setUserStorage(UserStorage userStorage)
userStorage
- public UserStorage getUserStorage()
public CreateWorkspaceBundleRequest withUserStorage(UserStorage userStorage)
userStorage
- public void setRootStorage(RootStorage rootStorage)
rootStorage
- public RootStorage getRootStorage()
public CreateWorkspaceBundleRequest withRootStorage(RootStorage rootStorage)
rootStorage
- public List<Tag> getTags()
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM
user permissions to use workspaces:CreateTags
.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants
your IAM user permissions to use workspaces:CreateTags
.
public void setTags(Collection<Tag> tags)
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM
user permissions to use workspaces:CreateTags
.
tags
- The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants
your IAM user permissions to use workspaces:CreateTags
.
public CreateWorkspaceBundleRequest withTags(Tag... tags)
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM
user permissions 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 associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants
your IAM user permissions to use workspaces:CreateTags
.
public CreateWorkspaceBundleRequest withTags(Collection<Tag> tags)
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM
user permissions to use workspaces:CreateTags
.
tags
- The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants
your IAM user permissions to use workspaces:CreateTags
.
public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceBundleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()