Interface ListLocationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLocationsResponse.Builder,ListLocationsResponse>,GameLiftResponse.Builder,SdkBuilder<ListLocationsResponse.Builder,ListLocationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListLocationsResponse
public static interface ListLocationsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListLocationsResponse.Builder,ListLocationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLocationsResponse.Builderlocations(Collection<LocationModel> locations)A collection of locations.ListLocationsResponse.Builderlocations(Consumer<LocationModel.Builder>... locations)A collection of locations.ListLocationsResponse.Builderlocations(LocationModel... locations)A collection of locations.ListLocationsResponse.BuildernextToken(String nextToken)A token that indicates where to resume retrieving results on the next call to this operation.-
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
-
locations
ListLocationsResponse.Builder locations(Collection<LocationModel> locations)
A collection of locations.
- Parameters:
locations- A collection of locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
ListLocationsResponse.Builder locations(LocationModel... locations)
A collection of locations.
- Parameters:
locations- A collection of locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
ListLocationsResponse.Builder locations(Consumer<LocationModel.Builder>... locations)
A collection of locations.
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 to#locations(List.) - Parameters:
locations- 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:
#locations(java.util.Collection)
-
nextToken
ListLocationsResponse.Builder nextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
- Parameters:
nextToken- A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-