Interface CreateFleetLocationsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>, GameLiftResponse.Builder, SdkBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateFleetLocationsResponse

public static interface CreateFleetLocationsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>
  • Method Details

    • fleetId

      A unique identifier for the fleet that was updated with new locations.

      Parameters:
      fleetId - A unique identifier for the fleet that was updated with new locations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fleetArn

      The Amazon Resource Name (ARN) that is assigned to a Amazon 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.

      Parameters:
      fleetArn - The Amazon Resource Name (ARN) that is assigned to a Amazon 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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, Amazon 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.

      Parameters:
      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, Amazon 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationStates

      CreateFleetLocationsResponse.Builder locationStates(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, Amazon 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.

      Parameters:
      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, Amazon 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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, Amazon 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.

      This is a convenience method that creates an instance of the LocationState.Builder avoiding the need to create one manually via LocationState.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to locationStates(List<LocationState>).

      Parameters:
      locationStates - a consumer that will call methods on LocationState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: