Interface ListGatewayRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewayRoutesResponse.Builder,,ListGatewayRoutesResponse> EcsResponse.Builder,SdkBuilder<ListGatewayRoutesResponse.Builder,,ListGatewayRoutesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGatewayRoutesResponse
@Mutable
@NotThreadSafe
public static interface ListGatewayRoutesResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<ListGatewayRoutesResponse.Builder,ListGatewayRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayRoutes(Collection<GatewayRouteSummary> gatewayRoutes) The gateway routes that match the request.gatewayRoutes(Consumer<GatewayRouteSummary.Builder>... gatewayRoutes) The gateway routes that match the request.gatewayRoutes(GatewayRouteSummary... gatewayRoutes) The gateway routes 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
-
gatewayRoutes
The gateway routes that match the request.
- Parameters:
gatewayRoutes- The gateway routes that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayRoutes
The gateway routes that match the request.
- Parameters:
gatewayRoutes- The gateway routes that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayRoutes
ListGatewayRoutesResponse.Builder gatewayRoutes(Consumer<GatewayRouteSummary.Builder>... gatewayRoutes) The gateway routes that match the request.
This is a convenience method that creates an instance of theGatewayRouteSummary.Builderavoiding the need to create one manually viaGatewayRouteSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayRoutes(List<GatewayRouteSummary>).- Parameters:
gatewayRoutes- a consumer that will call methods onGatewayRouteSummary.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.
-