Interface ModifyIpamPoolAllocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyIpamPoolAllocationResponse.Builder,,ModifyIpamPoolAllocationResponse> Ec2Response.Builder,SdkBuilder<ModifyIpamPoolAllocationResponse.Builder,,ModifyIpamPoolAllocationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyIpamPoolAllocationResponse
@Mutable
@NotThreadSafe
public static interface ModifyIpamPoolAllocationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyIpamPoolAllocationResponse.Builder,ModifyIpamPoolAllocationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionipamPoolAllocation(Consumer<IpamPoolAllocation.Builder> ipamPoolAllocation) The modified IPAM pool allocation.ipamPoolAllocation(IpamPoolAllocation ipamPoolAllocation) The modified IPAM pool allocation.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ipamPoolAllocation
The modified IPAM pool allocation.
- Parameters:
ipamPoolAllocation- The modified IPAM pool allocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPoolAllocation
default ModifyIpamPoolAllocationResponse.Builder ipamPoolAllocation(Consumer<IpamPoolAllocation.Builder> ipamPoolAllocation) The modified IPAM pool allocation.
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:
-