Class UserStorage
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.UserStorage
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UserStorage extends Object implements Serializable, Cloneable
Contains information about the user storage for a WorkSpace bundle.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserStorageclone()booleanequals(Object obj)StringgetCapacity()The amount of user storage for the bundle.inthashCode()voidsetCapacity(String capacity)The amount of user storage for the bundle.StringtoString()Returns a string representation of this object; useful for testing and debugging.UserStoragewithCapacity(String capacity)The amount of user storage for the bundle.
-
-
-
Method Detail
-
setCapacity
public void setCapacity(String capacity)
The amount of user storage for the bundle.
- Parameters:
capacity- The amount of user storage for the bundle.
-
getCapacity
public String getCapacity()
The amount of user storage for the bundle.
- Returns:
- The amount of user storage for the bundle.
-
withCapacity
public UserStorage withCapacity(String capacity)
The amount of user storage for the bundle.
- Parameters:
capacity- The amount of user storage for the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserStorage clone()
-
-