Interface GetRouteResponsesResponse.Builder
-
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetRouteResponsesResponse.Builder,GetRouteResponsesResponse>,SdkBuilder<GetRouteResponsesResponse.Builder,GetRouteResponsesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRouteResponsesResponse
public static interface GetRouteResponsesResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetRouteResponsesResponse.Builder,GetRouteResponsesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRouteResponsesResponse.Builderitems(Collection<RouteResponse> items)The elements from this collection.GetRouteResponsesResponse.Builderitems(Consumer<RouteResponse.Builder>... items)The elements from this collection.GetRouteResponsesResponse.Builderitems(RouteResponse... items)The elements from this collection.GetRouteResponsesResponse.BuildernextToken(String nextToken)The next page of elements from this collection.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
items
GetRouteResponsesResponse.Builder items(Collection<RouteResponse> items)
The elements from this collection.
- Parameters:
items- The elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
GetRouteResponsesResponse.Builder items(RouteResponse... items)
The elements from this collection.
- Parameters:
items- The elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
GetRouteResponsesResponse.Builder items(Consumer<RouteResponse.Builder>... items)
The elements from this collection.
This is a convenience method that creates an instance of theRouteResponse.Builderavoiding the need to create one manually viaRouteResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onRouteResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
GetRouteResponsesResponse.Builder nextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
- Parameters:
nextToken- The next page of elements from this collection. Not valid for the last element of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-