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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateFleetResponse.BuilderfleetAttributes(Consumer<FleetAttributes.Builder> fleetAttributes)The properties for the new fleet, including the current status.CreateFleetResponse.BuilderfleetAttributes(FleetAttributes fleetAttributes)The properties for the new fleet, including the current status.CreateFleetResponse.BuilderlocationStates(Collection<LocationState> locationStates)The fleet's locations and life-cycle status of each location.CreateFleetResponse.BuilderlocationStates(Consumer<LocationState.Builder>... locationStates)The fleet's locations and life-cycle status of each location.CreateFleetResponse.BuilderlocationStates(LocationState... locationStates)The fleet's locations and life-cycle status of each location.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fleetAttributes
CreateFleetResponse.Builder fleetAttributes(FleetAttributes fleetAttributes)
The properties for the new fleet, including the current status. All fleets are placed in
NEWstatus on creation.- Parameters:
fleetAttributes- The properties for the new fleet, including the current status. All fleets are placed inNEWstatus 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
This is a convenience method that creates an instance of theNEWstatus on creation.FleetAttributes.Builderavoiding the need to create one manually viaFleetAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofleetAttributes(FleetAttributes).- Parameters:
fleetAttributes- a consumer that will call methods onFleetAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fleetAttributes(FleetAttributes)
-
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 toNEW. 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 toNEW. 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
This is a convenience method that creates an instance of theNEW. 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.LocationState.Builderavoiding the need to create one manually viaLocationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#locationStates(List.) - Parameters:
locationStates- a consumer that will call methods onLocationState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#locationStates(java.util.Collection)
-
-