@Generated(value="software.amazon.awssdk:codegen") public final class CreateFleetLocationsResponse extends GameLiftResponse implements ToCopyableBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateFleetLocationsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateFleetLocationsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
String |
fleetId()
A unique identifier for the fleet that was updated with new locations.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLocationStates()
For responses, this returns true if the service returned a value for the LocationStates property.
|
List<LocationState> |
locationStates()
The remote locations that are being added to the fleet, and the life-cycle status of each location.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFleetLocationsResponse.Builder> |
serializableBuilderClass() |
CreateFleetLocationsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fleetId()
A unique identifier for the fleet that was updated with new locations.
public final String fleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.public final boolean hasLocationStates()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<LocationState> locationStates()
The remote locations that are being added to the fleet, and the life-cycle status of each location. For new
locations, the status is set to NEW. During location creation, GameLift updates each location's
status as instances are deployed there and prepared for game hosting. This list does not include the fleet home
Region or any remote locations that were already added to the fleet.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLocationStates() method.
NEW. During location creation, GameLift updates each
location's status as instances are deployed there and prepared for game hosting. This list does not
include the fleet home Region or any remote locations that were already added to the fleet.public CreateFleetLocationsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>toBuilder in class AwsResponsepublic static CreateFleetLocationsResponse.Builder builder()
public static Class<? extends CreateFleetLocationsResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.