Interface GetIpamPoolAllocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIpamPoolAllocationsResponse.Builder,,GetIpamPoolAllocationsResponse> Ec2Response.Builder,SdkBuilder<GetIpamPoolAllocationsResponse.Builder,,GetIpamPoolAllocationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetIpamPoolAllocationsResponse
public static interface GetIpamPoolAllocationsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetIpamPoolAllocationsResponse.Builder,GetIpamPoolAllocationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionipamPoolAllocations(Collection<IpamPoolAllocation> ipamPoolAllocations) The IPAM pool allocations you want information on.ipamPoolAllocations(Consumer<IpamPoolAllocation.Builder>... ipamPoolAllocations) The IPAM pool allocations you want information on.ipamPoolAllocations(IpamPoolAllocation... ipamPoolAllocations) The IPAM pool allocations you want information on.The token to use to retrieve the next page of results.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
-
ipamPoolAllocations
GetIpamPoolAllocationsResponse.Builder ipamPoolAllocations(Collection<IpamPoolAllocation> ipamPoolAllocations) The IPAM pool allocations you want information on.
- Parameters:
ipamPoolAllocations- The IPAM pool allocations you want information on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPoolAllocations
GetIpamPoolAllocationsResponse.Builder ipamPoolAllocations(IpamPoolAllocation... ipamPoolAllocations) The IPAM pool allocations you want information on.
- Parameters:
ipamPoolAllocations- The IPAM pool allocations you want information on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPoolAllocations
GetIpamPoolAllocationsResponse.Builder ipamPoolAllocations(Consumer<IpamPoolAllocation.Builder>... ipamPoolAllocations) The IPAM pool allocations you want information on.
This is a convenience method that creates an instance of theIpamPoolAllocation.Builderavoiding the need to create one manually viaIpamPoolAllocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipamPoolAllocations(List<IpamPoolAllocation>).- Parameters:
ipamPoolAllocations- a consumer that will call methods onIpamPoolAllocation.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.
-