@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Capacity extends Object implements Serializable, Cloneable, StructuredPojo
Describes the user capacity for a pool of WorkSpaces.
| Constructor and Description |
|---|
Capacity() |
| Modifier and Type | Method and Description |
|---|---|
Capacity |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredUserSessions()
The desired number of user sessions for the WorkSpaces in the pool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for the WorkSpaces in the pool.
|
String |
toString()
Returns a string representation of this object.
|
Capacity |
withDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for the WorkSpaces in the pool.
|
public void setDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for the WorkSpaces in the pool.
desiredUserSessions - The desired number of user sessions for the WorkSpaces in the pool.public Integer getDesiredUserSessions()
The desired number of user sessions for the WorkSpaces in the pool.
public Capacity withDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for the WorkSpaces in the pool.
desiredUserSessions - The desired number of user sessions for the WorkSpaces in the pool.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.