Interface GetCoipPoolUsageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCoipPoolUsageResponse.Builder,
,GetCoipPoolUsageResponse> Ec2Response.Builder
,SdkBuilder<GetCoipPoolUsageResponse.Builder,
,GetCoipPoolUsageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCoipPoolUsageResponse
@Mutable
@NotThreadSafe
public static interface GetCoipPoolUsageResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetCoipPoolUsageResponse.Builder,GetCoipPoolUsageResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncoipAddressUsages
(Collection<CoipAddressUsage> coipAddressUsages) Information about the address usage.coipAddressUsages
(Consumer<CoipAddressUsage.Builder>... coipAddressUsages) Information about the address usage.coipAddressUsages
(CoipAddressUsage... coipAddressUsages) Information about the address usage.coipPoolId
(String coipPoolId) The ID of the customer-owned address pool.localGatewayRouteTableId
(String localGatewayRouteTableId) The ID of the local gateway route table.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
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 Details
-
coipPoolId
The ID of the customer-owned address pool.
- Parameters:
coipPoolId
- The ID of the customer-owned address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coipAddressUsages
Information about the address usage.
- Parameters:
coipAddressUsages
- Information about the address usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coipAddressUsages
Information about the address usage.
- Parameters:
coipAddressUsages
- Information about the address usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coipAddressUsages
GetCoipPoolUsageResponse.Builder coipAddressUsages(Consumer<CoipAddressUsage.Builder>... coipAddressUsages) Information about the address usage.
This is a convenience method that creates an instance of theCoipAddressUsage.Builder
avoiding the need to create one manually viaCoipAddressUsage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoipAddressUsages(List<CoipAddressUsage>)
.- Parameters:
coipAddressUsages
- a consumer that will call methods onCoipAddressUsage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
localGatewayRouteTableId
The ID of the local gateway route table.
- Parameters:
localGatewayRouteTableId
- The ID of the local gateway route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-