Interface EC2InstanceCounts.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2InstanceCounts.Builder,EC2InstanceCounts>,SdkBuilder<EC2InstanceCounts.Builder,EC2InstanceCounts>,SdkPojo
- Enclosing class:
- EC2InstanceCounts
public static interface EC2InstanceCounts.Builder extends SdkPojo, CopyableBuilder<EC2InstanceCounts.Builder,EC2InstanceCounts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EC2InstanceCounts.Builderactive(Integer active)Actual number of instances that are ready to host game sessions.EC2InstanceCounts.Builderdesired(Integer desired)Requested number of active instances.EC2InstanceCounts.Builderidle(Integer idle)Number of active instances that are not currently hosting a game session.EC2InstanceCounts.Buildermaximum(Integer maximum)The maximum instance count value allowed.EC2InstanceCounts.Builderminimum(Integer minimum)The minimum instance count value allowed.EC2InstanceCounts.Builderpending(Integer pending)Number of instances that are starting but not yet active.EC2InstanceCounts.Builderterminating(Integer terminating)Number of instances that are no longer active but haven't yet been terminated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
desired
EC2InstanceCounts.Builder desired(Integer desired)
Requested number of active instances. Amazon GameLift takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.
- Parameters:
desired- Requested number of active instances. Amazon GameLift takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimum
EC2InstanceCounts.Builder minimum(Integer minimum)
The minimum instance count value allowed.
- Parameters:
minimum- The minimum instance count value allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximum
EC2InstanceCounts.Builder maximum(Integer maximum)
The maximum instance count value allowed.
- Parameters:
maximum- The maximum instance count value allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pending
EC2InstanceCounts.Builder pending(Integer pending)
Number of instances that are starting but not yet active.
- Parameters:
pending- Number of instances that are starting but not yet active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
active
EC2InstanceCounts.Builder active(Integer active)
Actual number of instances that are ready to host game sessions.
- Parameters:
active- Actual number of instances that are ready to host game sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idle
EC2InstanceCounts.Builder idle(Integer idle)
Number of active instances that are not currently hosting a game session.
- Parameters:
idle- Number of active instances that are not currently hosting a game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminating
EC2InstanceCounts.Builder terminating(Integer terminating)
Number of instances that are no longer active but haven't yet been terminated.
- Parameters:
terminating- Number of instances that are no longer active but haven't yet been terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-