Interface GetGatewayResponsesResponse.Builder
- All Superinterfaces:
ApiGatewayResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGatewayResponsesResponse.Builder,
,GetGatewayResponsesResponse> SdkBuilder<GetGatewayResponsesResponse.Builder,
,GetGatewayResponsesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGatewayResponsesResponse
public static interface GetGatewayResponsesResponse.Builder
extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetGatewayResponsesResponse.Builder,GetGatewayResponsesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<GatewayResponse> items) Returns the entire collection, because of no pagination support.items
(Consumer<GatewayResponse.Builder>... items) Returns the entire collection, because of no pagination support.items
(GatewayResponse... items) Returns the entire collection, because of no pagination support.Sets the value of the Position property for this object.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.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 Details
-
position
Sets the value of the Position property for this object.- Parameters:
position
- The new value for the Position property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Returns the entire collection, because of no pagination support.
- Parameters:
items
- Returns the entire collection, because of no pagination support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Returns the entire collection, because of no pagination support.
- Parameters:
items
- Returns the entire collection, because of no pagination support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Returns the entire collection, because of no pagination support.
This is a convenience method that creates an instance of theGatewayResponse.Builder
avoiding the need to create one manually viaGatewayResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<GatewayResponse>)
.- Parameters:
items
- a consumer that will call methods onGatewayResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-