Interface AllocateIpamPoolCidrResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AllocateIpamPoolCidrResponse.Builder,
,AllocateIpamPoolCidrResponse> Ec2Response.Builder
,SdkBuilder<AllocateIpamPoolCidrResponse.Builder,
,AllocateIpamPoolCidrResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AllocateIpamPoolCidrResponse
@Mutable
@NotThreadSafe
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
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
-
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.Builder
avoiding the need to create one manually viaIpamPoolAllocation.builder()
.When the
Consumer
completes,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:
-