@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFleetCapacityResponse extends GameLiftResponse implements ToCopyableBuilder<DescribeFleetCapacityResponse.Builder,DescribeFleetCapacityResponse>
Represents the returned data in response to a request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeFleetCapacityResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeFleetCapacityResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<FleetCapacity> |
fleetCapacity()
A collection of objects containing capacity information for each requested fleet ID.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFleetCapacity()
Returns true if the FleetCapacity property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
String |
nextToken()
Token that indicates where to resume retrieving results on the next call to this operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeFleetCapacityResponse.Builder> |
serializableBuilderClass() |
DescribeFleetCapacityResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasFleetCapacity()
public List<FleetCapacity> fleetCapacity()
A collection of objects containing capacity information for each requested fleet ID. Leave this parameter empty to retrieve capacity information for all fleets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFleetCapacity() to see if a value was sent in this field.
public String nextToken()
Token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public DescribeFleetCapacityResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeFleetCapacityResponse.Builder,DescribeFleetCapacityResponse>toBuilder in class AwsResponsepublic static DescribeFleetCapacityResponse.Builder builder()
public static Class<? extends DescribeFleetCapacityResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.