Interface DescribePublicIpv4PoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePublicIpv4PoolsResponse.Builder,,DescribePublicIpv4PoolsResponse> Ec2Response.Builder,SdkBuilder<DescribePublicIpv4PoolsResponse.Builder,,DescribePublicIpv4PoolsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribePublicIpv4PoolsResponse
public static interface DescribePublicIpv4PoolsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribePublicIpv4PoolsResponse.Builder,DescribePublicIpv4PoolsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.publicIpv4Pools(Collection<PublicIpv4Pool> publicIpv4Pools) Information about the address pools.publicIpv4Pools(Consumer<PublicIpv4Pool.Builder>... publicIpv4Pools) Information about the address pools.publicIpv4Pools(PublicIpv4Pool... publicIpv4Pools) Information about the address pools.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
publicIpv4Pools
Information about the address pools.
- Parameters:
publicIpv4Pools- Information about the address pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpv4Pools
Information about the address pools.
- Parameters:
publicIpv4Pools- Information about the address pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpv4Pools
DescribePublicIpv4PoolsResponse.Builder publicIpv4Pools(Consumer<PublicIpv4Pool.Builder>... publicIpv4Pools) Information about the address pools.
This is a convenience method that creates an instance of thePublicIpv4Pool.Builderavoiding the need to create one manually viaPublicIpv4Pool.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topublicIpv4Pools(List<PublicIpv4Pool>).- Parameters:
publicIpv4Pools- a consumer that will call methods onPublicIpv4Pool.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-