@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeCapacityStatus extends Object implements Serializable, Cloneable, StructuredPojo
Describes the capacity status for a fleet.
Constructor and Description |
---|
ComputeCapacityStatus() |
Modifier and Type | Method and Description |
---|---|
ComputeCapacityStatus |
clone() |
boolean |
equals(Object obj) |
Integer |
getActiveUserSessions()
The number of user sessions currently being used for streaming sessions.
|
Integer |
getActualUserSessions()
The total number of session slots that are available for streaming or are currently streaming.
|
Integer |
getAvailable()
The number of currently available instances that can be used to stream sessions.
|
Integer |
getAvailableUserSessions()
The number of idle session slots currently available for user sessions.
|
Integer |
getDesired()
The desired number of streaming instances.
|
Integer |
getDesiredUserSessions()
The total number of sessions slots that are either running or pending.
|
Integer |
getInUse()
The number of instances in use for streaming.
|
Integer |
getRunning()
The total number of simultaneous streaming instances that are running.
|
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 streaming sessions.
|
void |
setActualUserSessions(Integer actualUserSessions)
The total number of session slots that are available for streaming or are currently streaming.
|
void |
setAvailable(Integer available)
The number of currently available instances that can be used to stream sessions.
|
void |
setAvailableUserSessions(Integer availableUserSessions)
The number of idle session slots currently available for user sessions.
|
void |
setDesired(Integer desired)
The desired number of streaming instances.
|
void |
setDesiredUserSessions(Integer desiredUserSessions)
The total number of sessions slots that are either running or pending.
|
void |
setInUse(Integer inUse)
The number of instances in use for streaming.
|
void |
setRunning(Integer running)
The total number of simultaneous streaming instances that are running.
|
String |
toString()
Returns a string representation of this object.
|
ComputeCapacityStatus |
withActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for streaming sessions.
|
ComputeCapacityStatus |
withActualUserSessions(Integer actualUserSessions)
The total number of session slots that are available for streaming or are currently streaming.
|
ComputeCapacityStatus |
withAvailable(Integer available)
The number of currently available instances that can be used to stream sessions.
|
ComputeCapacityStatus |
withAvailableUserSessions(Integer availableUserSessions)
The number of idle session slots currently available for user sessions.
|
ComputeCapacityStatus |
withDesired(Integer desired)
The desired number of streaming instances.
|
ComputeCapacityStatus |
withDesiredUserSessions(Integer desiredUserSessions)
The total number of sessions slots that are either running or pending.
|
ComputeCapacityStatus |
withInUse(Integer inUse)
The number of instances in use for streaming.
|
ComputeCapacityStatus |
withRunning(Integer running)
The total number of simultaneous streaming instances that are running.
|
public void setDesired(Integer desired)
The desired number of streaming instances.
desired
- The desired number of streaming instances.public Integer getDesired()
The desired number of streaming instances.
public ComputeCapacityStatus withDesired(Integer desired)
The desired number of streaming instances.
desired
- The desired number of streaming instances.public void setRunning(Integer running)
The total number of simultaneous streaming instances that are running.
running
- The total number of simultaneous streaming instances that are running.public Integer getRunning()
The total number of simultaneous streaming instances that are running.
public ComputeCapacityStatus withRunning(Integer running)
The total number of simultaneous streaming instances that are running.
running
- The total number of simultaneous streaming instances that are running.public void setInUse(Integer inUse)
The number of instances in use for streaming.
inUse
- The number of instances in use for streaming.public Integer getInUse()
The number of instances in use for streaming.
public ComputeCapacityStatus withInUse(Integer inUse)
The number of instances in use for streaming.
inUse
- The number of instances in use for streaming.public void setAvailable(Integer available)
The number of currently available instances that can be used to stream sessions.
available
- The number of currently available instances that can be used to stream sessions.public Integer getAvailable()
The number of currently available instances that can be used to stream sessions.
public ComputeCapacityStatus withAvailable(Integer available)
The number of currently available instances that can be used to stream sessions.
available
- The number of currently available instances that can be used to stream sessions.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 fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
desiredUserSessions
- The total number of sessions slots that are either running or pending. This represents the total number of
concurrent streaming sessions your fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
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 fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
public ComputeCapacityStatus 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 fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
desiredUserSessions
- The total number of sessions slots that are either running or pending. This represents the total number of
concurrent streaming sessions your fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
public void setAvailableUserSessions(Integer availableUserSessions)
The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
availableUserSessions
- The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
public Integer getAvailableUserSessions()
The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
public ComputeCapacityStatus withAvailableUserSessions(Integer availableUserSessions)
The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
availableUserSessions
- The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
public void setActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
activeUserSessions
- The number of user sessions currently being used for streaming sessions. This only applies to
multi-session fleets.public Integer getActiveUserSessions()
The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
public ComputeCapacityStatus withActiveUserSessions(Integer activeUserSessions)
The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
activeUserSessions
- The number of user sessions currently being used for streaming sessions. This only applies to
multi-session fleets.public void setActualUserSessions(Integer actualUserSessions)
The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
actualUserSessions
- The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
public Integer getActualUserSessions()
The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
public ComputeCapacityStatus withActualUserSessions(Integer actualUserSessions)
The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
actualUserSessions
- The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
public String toString()
toString
in class Object
Object.toString()
public ComputeCapacityStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.