Class ReplicaContainerGroupCounts
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.ReplicaContainerGroupCounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicaContainerGroupCounts.Builder,ReplicaContainerGroupCounts>
@Generated("software.amazon.awssdk:codegen") public final class ReplicaContainerGroupCounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicaContainerGroupCounts.Builder,ReplicaContainerGroupCounts>
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
The number and status of replica container groups that are deployed across a fleet with compute type
CONTAINER. This information, combined with the number of server processes being hosted per container group (seeRuntimeConfiguration), tells you how many game sessions the fleet is currently capable of hosting concurrently.Returned by: DescribeFleetCapacity, DescribeFleetLocationCapacity
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicaContainerGroupCounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integeractive()The number of container groups that have active game sessions.static ReplicaContainerGroupCounts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integeridle()The number of container groups that have no active game sessions.Integerpending()The number of container groups that are starting up but have not yet registered.List<SdkField<?>>sdkFields()static Class<? extends ReplicaContainerGroupCounts.Builder>serializableBuilderClass()Integerterminating()The number of container groups that are in the process of shutting down.ReplicaContainerGroupCounts.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
pending
public final Integer pending()
The number of container groups that are starting up but have not yet registered.
- Returns:
- The number of container groups that are starting up but have not yet registered.
-
active
public final Integer active()
The number of container groups that have active game sessions.
- Returns:
- The number of container groups that have active game sessions.
-
idle
public final Integer idle()
The number of container groups that have no active game sessions.
- Returns:
- The number of container groups that have no active game sessions.
-
terminating
public final Integer terminating()
The number of container groups that are in the process of shutting down.
- Returns:
- The number of container groups that are in the process of shutting down.
-
toBuilder
public ReplicaContainerGroupCounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicaContainerGroupCounts.Builder,ReplicaContainerGroupCounts>
-
builder
public static ReplicaContainerGroupCounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicaContainerGroupCounts.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-