Class GameServerContainerGroupCounts
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.GameServerContainerGroupCounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GameServerContainerGroupCounts.Builder,GameServerContainerGroupCounts>
@Generated("software.amazon.awssdk:codegen") public final class GameServerContainerGroupCounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GameServerContainerGroupCounts.Builder,GameServerContainerGroupCounts>
The number and status of game server container groups that are deployed across a container fleet. Combine this count with the number of server processes that each game server container group runs to learn how many game sessions the fleet is capable of hosting concurrently. For example, if a fleet has 50 game server container groups, and the game server container in each group runs 1 game server process, then the fleet has the capacity to run host 50 game sessions at a time.
Returned by: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html, https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGameServerContainerGroupCounts.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 GameServerContainerGroupCounts.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 haven't yet registered.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GameServerContainerGroupCounts.Builder>serializableBuilderClass()Integerterminating()The number of container groups that are in the process of shutting down.GameServerContainerGroupCounts.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 haven't yet registered.
- Returns:
- The number of container groups that are starting up but haven't 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 GameServerContainerGroupCounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GameServerContainerGroupCounts.Builder,GameServerContainerGroupCounts>
-
builder
public static GameServerContainerGroupCounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends GameServerContainerGroupCounts.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-