Interface AllocateIpamPoolCidrResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AllocateIpamPoolCidrResponse.Builder,,AllocateIpamPoolCidrResponse> Ec2Response.Builder,SdkBuilder<AllocateIpamPoolCidrResponse.Builder,,AllocateIpamPoolCidrResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AllocateIpamPoolCidrResponse
public static interface AllocateIpamPoolCidrResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AllocateIpamPoolCidrResponse.Builder,AllocateIpamPoolCidrResponse>
-
Method Summary
Modifier and TypeMethodDescriptionipamPoolAllocation(Consumer<IpamPoolAllocation.Builder> ipamPoolAllocation) Information about the allocation created.ipamPoolAllocation(IpamPoolAllocation ipamPoolAllocation) Information about the allocation created.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
-
ipamPoolAllocation
Information about the allocation created.
- Parameters:
ipamPoolAllocation- Information about the allocation created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPoolAllocation
default AllocateIpamPoolCidrResponse.Builder ipamPoolAllocation(Consumer<IpamPoolAllocation.Builder> ipamPoolAllocation) Information about the allocation created.
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 toipamPoolAllocation(IpamPoolAllocation).- Parameters:
ipamPoolAllocation- 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:
-