Interface CreateFleetLocationsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateFleetLocationsResponse.Builder,,- CreateFleetLocationsResponse> - GameLiftResponse.Builder,- SdkBuilder<CreateFleetLocationsResponse.Builder,,- CreateFleetLocationsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateFleetLocationsResponse
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers fleet resource and uniquely identifies it.A unique identifier for the fleet that was updated with new locations.locationStates(Collection<LocationState> locationStates) The remote locations that are being added to the fleet, and the life-cycle status of each location.locationStates(Consumer<LocationState.Builder>... locationStates) The remote locations that are being added to the fleet, and the life-cycle status of each location.locationStates(LocationState... locationStates) The remote locations that are being added to the fleet, and the life-cycle status of each location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
fleetIdA 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.
 
- 
fleetArnThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers 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 Servers 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.
 
- 
locationStatesThe 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 Servers 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 Servers 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.
 
- 
locationStatesThe 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 Servers 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 Servers 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.
 
- 
locationStatesCreateFleetLocationsResponse.Builder locationStates(Consumer<LocationState.Builder>... 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 This is a convenience method that creates an instance of theNEW. During location creation, Amazon GameLift Servers 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.LocationState.Builderavoiding the need to create one manually viaLocationState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocationStates(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:
 
 
-