Interface ListBuildsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBuildsResponse.Builder,ListBuildsResponse>,GameLiftResponse.Builder,SdkBuilder<ListBuildsResponse.Builder,ListBuildsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBuildsResponse
public static interface ListBuildsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListBuildsResponse.Builder,ListBuildsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBuildsResponse.Builderbuilds(Collection<Build> builds)A collection of build resources that match the request.ListBuildsResponse.Builderbuilds(Consumer<Build.Builder>... builds)A collection of build resources that match the request.ListBuildsResponse.Builderbuilds(Build... builds)A collection of build resources that match the request.ListBuildsResponse.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
-
builds
ListBuildsResponse.Builder builds(Collection<Build> builds)
A collection of build resources that match the request.
- Parameters:
builds- A collection of build resources that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
builds
ListBuildsResponse.Builder builds(Build... builds)
A collection of build resources that match the request.
- Parameters:
builds- A collection of build resources that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
builds
ListBuildsResponse.Builder builds(Consumer<Build.Builder>... builds)
A collection of build resources that match the request.
This is a convenience method that creates an instance of theBuild.Builderavoiding the need to create one manually viaBuild.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#builds(List.) - Parameters:
builds- a consumer that will call methods onBuild.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#builds(java.util.Collection)
-
nextToken
ListBuildsResponse.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.
-
-