Interface GetUsagePlansResponse.Builder
-
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetUsagePlansResponse.Builder,GetUsagePlansResponse>,SdkBuilder<GetUsagePlansResponse.Builder,GetUsagePlansResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetUsagePlansResponse
public static interface GetUsagePlansResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetUsagePlansResponse.Builder,GetUsagePlansResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetUsagePlansResponse.Builderitems(Collection<UsagePlan> items)The current page of elements from this collection.GetUsagePlansResponse.Builderitems(Consumer<UsagePlan.Builder>... items)The current page of elements from this collection.GetUsagePlansResponse.Builderitems(UsagePlan... items)The current page of elements from this collection.GetUsagePlansResponse.Builderposition(String position)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
position
GetUsagePlansResponse.Builder position(String 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
GetUsagePlansResponse.Builder items(Collection<UsagePlan> 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
GetUsagePlansResponse.Builder items(UsagePlan... 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
GetUsagePlansResponse.Builder items(Consumer<UsagePlan.Builder>... items)
The current page of elements from this collection.
This is a convenience method that creates an instance of theUsagePlan.Builderavoiding the need to create one manually viaUsagePlan.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 onUsagePlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
-