public class WorkspaceBundle
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a WorkSpace bundle.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bundleId
The bundle identifier.
|
private ComputeType |
computeType
A ComputeType object that specifies the compute type for the
bundle.
|
private java.lang.String |
description
The bundle description.
|
private java.lang.String |
name
The name of the bundle.
|
private java.lang.String |
owner
The owner of the bundle.
|
private UserStorage |
userStorage
A UserStorage object that specifies the amount of user storage
that the bundle contains.
|
Constructor and Description |
---|
WorkspaceBundle() |
Modifier and Type | Method and Description |
---|---|
WorkspaceBundle |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBundleId()
The bundle identifier.
|
ComputeType |
getComputeType()
A ComputeType object that specifies the compute type for the
bundle.
|
java.lang.String |
getDescription()
The bundle description.
|
java.lang.String |
getName()
The name of the bundle.
|
java.lang.String |
getOwner()
The owner of the bundle.
|
UserStorage |
getUserStorage()
A UserStorage object that specifies the amount of user storage
that the bundle contains.
|
int |
hashCode() |
void |
setBundleId(java.lang.String bundleId)
The bundle identifier.
|
void |
setComputeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the
bundle.
|
void |
setDescription(java.lang.String description)
The bundle description.
|
void |
setName(java.lang.String name)
The name of the bundle.
|
void |
setOwner(java.lang.String owner)
The owner of the bundle.
|
void |
setUserStorage(UserStorage userStorage)
A UserStorage object that specifies the amount of user storage
that the bundle contains.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkspaceBundle |
withBundleId(java.lang.String bundleId)
The bundle identifier.
|
WorkspaceBundle |
withComputeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the
bundle.
|
WorkspaceBundle |
withDescription(java.lang.String description)
The bundle description.
|
WorkspaceBundle |
withName(java.lang.String name)
The name of the bundle.
|
WorkspaceBundle |
withOwner(java.lang.String owner)
The owner of the bundle.
|
WorkspaceBundle |
withUserStorage(UserStorage userStorage)
A UserStorage object that specifies the amount of user storage
that the bundle contains.
|
private java.lang.String bundleId
The bundle identifier.
private java.lang.String name
The name of the bundle.
private java.lang.String owner
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.
private java.lang.String description
The bundle description.
private UserStorage userStorage
A UserStorage object that specifies the amount of user storage that the bundle contains.
private ComputeType computeType
A ComputeType object that specifies the compute type for the bundle.
public void setBundleId(java.lang.String bundleId)
The bundle identifier.
bundleId
- The bundle identifier.public java.lang.String getBundleId()
The bundle identifier.
public WorkspaceBundle withBundleId(java.lang.String bundleId)
The bundle identifier.
bundleId
- The bundle identifier.public void setName(java.lang.String name)
The name of the bundle.
name
- The name of the bundle.public java.lang.String getName()
The name of the bundle.
public WorkspaceBundle withName(java.lang.String name)
The name of the bundle.
name
- The name of the bundle.public void setOwner(java.lang.String owner)
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.
owner
- The owner of the bundle. This contains the owner's account
identifier, or AMAZON
if the bundle is provided by
AWS.public java.lang.String getOwner()
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.
AMAZON
if the bundle is provided by
AWS.public WorkspaceBundle withOwner(java.lang.String owner)
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.
owner
- The owner of the bundle. This contains the owner's account
identifier, or AMAZON
if the bundle is provided by
AWS.public void setDescription(java.lang.String description)
The bundle description.
description
- The bundle description.public java.lang.String getDescription()
The bundle description.
public WorkspaceBundle withDescription(java.lang.String description)
The bundle description.
description
- The bundle description.public void setUserStorage(UserStorage userStorage)
A UserStorage object that specifies the amount of user storage that the bundle contains.
userStorage
- A UserStorage object that specifies the amount of user
storage that the bundle contains.public UserStorage getUserStorage()
A UserStorage object that specifies the amount of user storage that the bundle contains.
public WorkspaceBundle withUserStorage(UserStorage userStorage)
A UserStorage object that specifies the amount of user storage that the bundle contains.
userStorage
- A UserStorage object that specifies the amount of user
storage that the bundle contains.public void setComputeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the bundle.
computeType
- A ComputeType object that specifies the compute type for
the bundle.public ComputeType getComputeType()
A ComputeType object that specifies the compute type for the bundle.
public WorkspaceBundle withComputeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the bundle.
computeType
- A ComputeType object that specifies the compute type for
the bundle.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkspaceBundle clone()
clone
in class java.lang.Object