public class WorkspaceBundle extends Object implements Serializable, Cloneable
Contains information about a WorkSpace bundle.
Constructor and Description |
---|
WorkspaceBundle() |
Modifier and Type | Method and Description |
---|---|
WorkspaceBundle |
clone() |
boolean |
equals(Object obj) |
String |
getBundleId()
The bundle identifier.
|
ComputeType |
getComputeType()
A ComputeType object that specifies the compute type for the
bundle.
|
String |
getDescription()
The bundle description.
|
String |
getName()
The name of the bundle.
|
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(String bundleId)
The bundle identifier.
|
void |
setComputeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the
bundle.
|
void |
setDescription(String description)
The bundle description.
|
void |
setName(String name)
The name of the bundle.
|
void |
setOwner(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkspaceBundle |
withBundleId(String bundleId)
The bundle identifier.
|
WorkspaceBundle |
withComputeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the
bundle.
|
WorkspaceBundle |
withDescription(String description)
The bundle description.
|
WorkspaceBundle |
withName(String name)
The name of the bundle.
|
WorkspaceBundle |
withOwner(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.
|
public String getBundleId()
Constraints:
Pattern: ^wsb-[0-9a-z]{8,63}$
public void setBundleId(String bundleId)
Constraints:
Pattern: ^wsb-[0-9a-z]{8,63}$
bundleId
- The bundle identifier.public WorkspaceBundle withBundleId(String bundleId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^wsb-[0-9a-z]{8,63}$
bundleId
- The bundle identifier.public String getName()
Constraints:
Length: 1 -
public void setName(String name)
Constraints:
Length: 1 -
name
- The name of the bundle.public WorkspaceBundle withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
name
- The name of the bundle.public String getOwner()
AMAZON
if the bundle is provided by AWS.AMAZON
if the bundle is provided by AWS.public void setOwner(String owner)
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 WorkspaceBundle withOwner(String owner)
AMAZON
if the bundle is provided by AWS.
Returns a reference to this object so that method calls can be chained together.
owner
- The owner of the bundle. This contains the owner's account identifier,
or AMAZON
if the bundle is provided by AWS.public String getDescription()
public void setDescription(String description)
description
- The bundle description.public WorkspaceBundle withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The bundle description.public UserStorage getUserStorage()
public void setUserStorage(UserStorage userStorage)
userStorage
- A UserStorage object that specifies the amount of user storage
that the bundle contains.public WorkspaceBundle withUserStorage(UserStorage userStorage)
Returns a reference to this object so that method calls can be chained together.
userStorage
- A UserStorage object that specifies the amount of user storage
that the bundle contains.public ComputeType getComputeType()
public void setComputeType(ComputeType computeType)
computeType
- A ComputeType object that specifies the compute type for the
bundle.public WorkspaceBundle withComputeType(ComputeType computeType)
Returns a reference to this object so that method calls can be chained together.
computeType
- A ComputeType object that specifies the compute type for the
bundle.public String toString()
toString
in class Object
Object.toString()
public WorkspaceBundle clone()
Copyright © 2015. All rights reserved.