@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityStatus extends Object implements Serializable, Cloneable, StructuredPojo
Describes the capacity status for a pool of WorkSpaces.
Constructor and Description |
---|
CapacityStatus() |
Modifier and Type | Method and Description |
---|---|
CapacityStatus |
clone() |
boolean |
equals(Object obj) |
Integer |
getActiveUserSessions()
The number of user sessions currently being used for your pool.
|
Integer |
getActualUserSessions()
The total number of user sessions that are available for streaming or are currently streaming in your pool.
|
Integer |
getAvailableUserSessions()
The number of user sessions currently available for streaming from your pool.
|
Integer |
getDesiredUserSessions()
The total number of sessions slots that are either running or pending.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for your pool.
|
void |
setActualUserSessions(Integer actualUserSessions)
The total number of user sessions that are available for streaming or are currently streaming in your pool.
|
void |
setAvailableUserSessions(Integer availableUserSessions)
The number of user sessions currently available for streaming from your pool.
|
void |
setDesiredUserSessions(Integer desiredUserSessions)
The total number of sessions slots that are either running or pending.
|
String |
toString()
Returns a string representation of this object.
|
CapacityStatus |
withActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for your pool.
|
CapacityStatus |
withActualUserSessions(Integer actualUserSessions)
The total number of user sessions that are available for streaming or are currently streaming in your pool.
|
CapacityStatus |
withAvailableUserSessions(Integer availableUserSessions)
The number of user sessions currently available for streaming from your pool.
|
CapacityStatus |
withDesiredUserSessions(Integer desiredUserSessions)
The total number of sessions slots that are either running or pending.
|
public void setAvailableUserSessions(Integer availableUserSessions)
The number of user sessions currently available for streaming from your pool.
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
availableUserSessions
- The number of user sessions currently available for streaming from your pool.
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
public Integer getAvailableUserSessions()
The number of user sessions currently available for streaming from your pool.
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
public CapacityStatus withAvailableUserSessions(Integer availableUserSessions)
The number of user sessions currently available for streaming from your pool.
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
availableUserSessions
- The number of user sessions currently available for streaming from your pool.
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
public void setDesiredUserSessions(Integer desiredUserSessions)
The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state.
desiredUserSessions
- The total number of sessions slots that are either running or pending. This represents the total number of
concurrent streaming sessions your pool can support in a steady state.public Integer getDesiredUserSessions()
The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state.
public CapacityStatus withDesiredUserSessions(Integer desiredUserSessions)
The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state.
desiredUserSessions
- The total number of sessions slots that are either running or pending. This represents the total number of
concurrent streaming sessions your pool can support in a steady state.public void setActualUserSessions(Integer actualUserSessions)
The total number of user sessions that are available for streaming or are currently streaming in your pool.
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
actualUserSessions
- The total number of user sessions that are available for streaming or are currently streaming in your
pool.
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
public Integer getActualUserSessions()
The total number of user sessions that are available for streaming or are currently streaming in your pool.
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
public CapacityStatus withActualUserSessions(Integer actualUserSessions)
The total number of user sessions that are available for streaming or are currently streaming in your pool.
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
actualUserSessions
- The total number of user sessions that are available for streaming or are currently streaming in your
pool.
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
public void setActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for your pool.
activeUserSessions
- The number of user sessions currently being used for your pool.public Integer getActiveUserSessions()
The number of user sessions currently being used for your pool.
public CapacityStatus withActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for your pool.
activeUserSessions
- The number of user sessions currently being used for your pool.public String toString()
toString
in class Object
Object.toString()
public CapacityStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.