Interface CreateFleetResponse.Builder

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

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

    • fleetAttributes

      CreateFleetResponse.Builder fleetAttributes(FleetAttributes fleetAttributes)

      The properties for the new fleet, including the current status. All fleets are placed in NEW status on creation.

      Parameters:
      fleetAttributes - The properties for the new fleet, including the current status. All fleets are placed in NEW status on creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fleetAttributes

      default CreateFleetResponse.Builder fleetAttributes(Consumer<FleetAttributes.Builder> fleetAttributes)

      The properties for the new fleet, including the current status. All fleets are placed in NEW status on creation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fleetAttributes(FleetAttributes).

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

      CreateFleetResponse.Builder locationStates(Collection<LocationState> locationStates)

      The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.

      Parameters:
      locationStates - The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationStates

      CreateFleetResponse.Builder locationStates(LocationState... locationStates)

      The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.

      Parameters:
      locationStates - The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationStates

      CreateFleetResponse.Builder locationStates(Consumer<LocationState.Builder>... locationStates)

      The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.

      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: