Interface CreateLocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateLocationResponse.Builder,
,CreateLocationResponse> GameLiftResponse.Builder
,SdkBuilder<CreateLocationResponse.Builder,
,CreateLocationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateLocationResponse
public static interface CreateLocationResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateLocationResponse.Builder,CreateLocationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateLocationResponse.Builder
location
(Consumer<LocationModel.Builder> location) The details of the custom location you created.location
(LocationModel location) The details of the custom location you created.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 Details
-
location
The details of the custom location you created.
- Parameters:
location
- The details of the custom location you created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The details of the custom location you created.
This is a convenience method that creates an instance of theLocationModel.Builder
avoiding the need to create one manually viaLocationModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(LocationModel)
.- Parameters:
location
- a consumer that will call methods onLocationModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-