Interface ListContainerGroupDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContainerGroupDefinitionsResponse.Builder,,ListContainerGroupDefinitionsResponse> GameLiftResponse.Builder,SdkBuilder<ListContainerGroupDefinitionsResponse.Builder,,ListContainerGroupDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContainerGroupDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface ListContainerGroupDefinitionsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListContainerGroupDefinitionsResponse.Builder,ListContainerGroupDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerGroupDefinitions(Collection<ContainerGroupDefinition> containerGroupDefinitions) A result set of container group definitions that match the request.containerGroupDefinitions(Consumer<ContainerGroupDefinition.Builder>... containerGroupDefinitions) A result set of container group definitions that match the request.containerGroupDefinitions(ContainerGroupDefinition... containerGroupDefinitions) A result set of container group definitions that match the request.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
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
-
containerGroupDefinitions
ListContainerGroupDefinitionsResponse.Builder containerGroupDefinitions(Collection<ContainerGroupDefinition> containerGroupDefinitions) A result set of container group definitions that match the request.
- Parameters:
containerGroupDefinitions- A result set of container group definitions that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupDefinitions
ListContainerGroupDefinitionsResponse.Builder containerGroupDefinitions(ContainerGroupDefinition... containerGroupDefinitions) A result set of container group definitions that match the request.
- Parameters:
containerGroupDefinitions- A result set of container group definitions that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupDefinitions
ListContainerGroupDefinitionsResponse.Builder containerGroupDefinitions(Consumer<ContainerGroupDefinition.Builder>... containerGroupDefinitions) A result set of container group definitions that match the request.
This is a convenience method that creates an instance of theContainerGroupDefinition.Builderavoiding the need to create one manually viaContainerGroupDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerGroupDefinitions(List<ContainerGroupDefinition>).- Parameters:
containerGroupDefinitions- a consumer that will call methods onContainerGroupDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-