@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 |
getAvailable()
The number of currently available instances that can be used to stream sessions.
|
Integer |
getDesired()
The desired number of streaming instances.
|
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 |
setAvailable(Integer available)
The number of currently available instances that can be used to stream sessions.
|
void |
setDesired(Integer desired)
The desired number of streaming instances.
|
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; useful for testing and debugging.
|
ComputeCapacityStatus |
withAvailable(Integer available)
The number of currently available instances that can be used to stream sessions.
|
ComputeCapacityStatus |
withDesired(Integer desired)
The desired number of streaming instances.
|
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.