Interface GetUsagePlanKeysResponse.Builder
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetUsagePlanKeysResponse.Builder,,GetUsagePlanKeysResponse> SdkBuilder<GetUsagePlanKeysResponse.Builder,,GetUsagePlanKeysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetUsagePlanKeysResponse
public static interface GetUsagePlanKeysResponse.Builder
extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetUsagePlanKeysResponse.Builder,GetUsagePlanKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<UsagePlanKey> items) The current page of elements from this collection.items(Consumer<UsagePlanKey.Builder>... items) The current page of elements from this collection.items(UsagePlanKey... items) The current page of elements from this collection.Sets the value of the Position property for this object.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
The current page of elements from this collection.
- Parameters:
items- The current page of elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The current page of elements from this collection.
- Parameters:
items- The current page of elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The current page of elements from this collection.
This is a convenience method that creates an instance of theUsagePlanKey.Builderavoiding the need to create one manually viaUsagePlanKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<UsagePlanKey>).- Parameters:
items- a consumer that will call methods onUsagePlanKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-