Interface ListGatewayClusterAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewayClusterAssociationsResponse.Builder,,ListGatewayClusterAssociationsResponse> EcsResponse.Builder,SdkBuilder<ListGatewayClusterAssociationsResponse.Builder,,ListGatewayClusterAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGatewayClusterAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListGatewayClusterAssociationsResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<ListGatewayClusterAssociationsResponse.Builder,ListGatewayClusterAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayClusterAssociations(Collection<GatewayClusterAssociationSummary> gatewayClusterAssociations) The gateway-cluster associations that match the request.gatewayClusterAssociations(Consumer<GatewayClusterAssociationSummary.Builder>... gatewayClusterAssociations) The gateway-cluster associations that match the request.gatewayClusterAssociations(GatewayClusterAssociationSummary... gatewayClusterAssociations) The gateway-cluster associations that match the request.ThenextTokenvalue to include in a future request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.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
-
gatewayClusterAssociations
ListGatewayClusterAssociationsResponse.Builder gatewayClusterAssociations(Collection<GatewayClusterAssociationSummary> gatewayClusterAssociations) The gateway-cluster associations that match the request.
- Parameters:
gatewayClusterAssociations- The gateway-cluster associations that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayClusterAssociations
ListGatewayClusterAssociationsResponse.Builder gatewayClusterAssociations(GatewayClusterAssociationSummary... gatewayClusterAssociations) The gateway-cluster associations that match the request.
- Parameters:
gatewayClusterAssociations- The gateway-cluster associations that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayClusterAssociations
ListGatewayClusterAssociationsResponse.Builder gatewayClusterAssociations(Consumer<GatewayClusterAssociationSummary.Builder>... gatewayClusterAssociations) The gateway-cluster associations that match the request.
This is a convenience method that creates an instance of theGatewayClusterAssociationSummary.Builderavoiding the need to create one manually viaGatewayClusterAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayClusterAssociations(List<GatewayClusterAssociationSummary>).- Parameters:
gatewayClusterAssociations- a consumer that will call methods onGatewayClusterAssociationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a future request to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a future request to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-