Class WorkspaceBundle
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a WorkSpace bundle.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The bundle identifier.A ComputeType object that specifies the compute type for the bundle.The bundle description.getName()
The name of the bundle.getOwner()
The owner of the bundle.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
The name of the bundle.void
The owner of the bundle.void
setUserStorage
(UserStorage userStorage) A UserStorage object that specifies the amount of user storage that the bundle contains.toString()
Returns a string representation of this object; useful for testing and debugging.withBundleId
(String bundleId) The bundle identifier.withComputeType
(ComputeType computeType) A ComputeType object that specifies the compute type for the bundle.withDescription
(String description) The bundle description.The name of the bundle.The owner of the bundle.withUserStorage
(UserStorage userStorage) A UserStorage object that specifies the amount of user storage that the bundle contains.
-
Constructor Details
-
WorkspaceBundle
public WorkspaceBundle()
-
-
Method Details
-
setBundleId
The bundle identifier.
- Parameters:
bundleId
- The bundle identifier.
-
getBundleId
The bundle identifier.
- Returns:
- The bundle identifier.
-
withBundleId
The bundle identifier.
- Parameters:
bundleId
- The bundle identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name of the bundle.
- Parameters:
name
- The name of the bundle.
-
getName
The name of the bundle.
- Returns:
- The name of the bundle.
-
withName
The name of the bundle.
- Parameters:
name
- The name of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOwner
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.- Parameters:
owner
- The owner of the bundle. This contains the owner's account identifier, orAMAZON
if the bundle is provided by AWS.
-
getOwner
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.- Returns:
- The owner of the bundle. This contains the owner's account
identifier, or
AMAZON
if the bundle is provided by AWS.
-
withOwner
The owner of the bundle. This contains the owner's account identifier, or
AMAZON
if the bundle is provided by AWS.- Parameters:
owner
- The owner of the bundle. This contains the owner's account identifier, orAMAZON
if the bundle is provided by AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The bundle description.
- Parameters:
description
- The bundle description.
-
getDescription
The bundle description.
- Returns:
- The bundle description.
-
withDescription
The bundle description.
- Parameters:
description
- The bundle description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserStorage
A UserStorage object that specifies the amount of user storage that the bundle contains.
- Parameters:
userStorage
- A UserStorage object that specifies the amount of user storage that the bundle contains.
-
getUserStorage
A UserStorage object that specifies the amount of user storage that the bundle contains.
- Returns:
- A UserStorage object that specifies the amount of user storage that the bundle contains.
-
withUserStorage
A UserStorage object that specifies the amount of user storage that the bundle contains.
- Parameters:
userStorage
- A UserStorage object that specifies the amount of user storage that the bundle contains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComputeType
A ComputeType object that specifies the compute type for the bundle.
- Parameters:
computeType
- A ComputeType object that specifies the compute type for the bundle.
-
getComputeType
A ComputeType object that specifies the compute type for the bundle.
- Returns:
- A ComputeType object that specifies the compute type for the bundle.
-
withComputeType
A ComputeType object that specifies the compute type for the bundle.
- Parameters:
computeType
- A ComputeType object that specifies the compute type for the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-