Interface CreateLocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLocationResponse.Builder,,CreateLocationResponse> GameLiftResponse.Builder,SdkBuilder<CreateLocationResponse.Builder,,CreateLocationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLocationResponse
@Mutable
@NotThreadSafe
public static interface CreateLocationResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateLocationResponse.Builder,CreateLocationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateLocationResponse.Builderlocation(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
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaLocationModel.builder().When the
Consumercompletes,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:
-