@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 a multi-session pool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for a multi-session pool.
|
String |
toString()
Returns a string representation of this object.
|
Capacity |
withDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for a multi-session pool.
|
public void setDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for a multi-session pool. This is not allowed for single-session pools.
desiredUserSessions - The desired number of user sessions for a multi-session pool. This is not allowed for single-session
pools.public Integer getDesiredUserSessions()
The desired number of user sessions for a multi-session pool. This is not allowed for single-session pools.
public Capacity withDesiredUserSessions(Integer desiredUserSessions)
The desired number of user sessions for a multi-session pool. This is not allowed for single-session pools.
desiredUserSessions - The desired number of user sessions for a multi-session pool. This is not allowed for single-session
pools.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.