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 UserStorage
clone()
boolean
equals(Object obj)
String
getCapacity()
The amount of user storage for the bundle.int
hashCode()
void
setCapacity(String capacity)
The amount of user storage for the bundle.String
toString()
Returns a string representation of this object; useful for testing and debugging.UserStorage
withCapacity(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserStorage clone()
-
-