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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateLocationResponse.Builderlocation(Consumer<LocationModel.Builder> location)The details of the custom location you created.CreateLocationResponse.Builderlocation(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 Detail
-
location
CreateLocationResponse.Builder location(LocationModel 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
default CreateLocationResponse.Builder location(Consumer<LocationModel.Builder> 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:
location(LocationModel)
-
-