@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFleetCapacityRequest extends GameLiftRequest implements ToCopyableBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateFleetCapacityRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateFleetCapacityRequest.Builder |
builder() |
Integer |
desiredInstances()
The number of Amazon EC2 instances you want to maintain in the specified fleet location.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fleetId()
A unique identifier for the fleet to update capacity settings for.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region
code such as
us-west-2. |
Integer |
maxSize()
The maximum number of instances that are allowed in the specified fleet location.
|
Integer |
minSize()
The minimum number of instances that are allowed in the specified fleet location.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateFleetCapacityRequest.Builder> |
serializableBuilderClass() |
UpdateFleetCapacityRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fleetId()
A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.
public final Integer desiredInstances()
The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits.
public final Integer minSize()
The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
public final Integer maxSize()
The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
public final String location()
The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region
code such as us-west-2.
us-west-2.public UpdateFleetCapacityRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>toBuilder in class GameLiftRequestpublic static UpdateFleetCapacityRequest.Builder builder()
public static Class<? extends UpdateFleetCapacityRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.