Interface CreateCoipPoolResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateCoipPoolResponse.Builder,
,CreateCoipPoolResponse> Ec2Response.Builder
,SdkBuilder<CreateCoipPoolResponse.Builder,
,CreateCoipPoolResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateCoipPoolResponse
public static interface CreateCoipPoolResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateCoipPoolResponse.Builder,CreateCoipPoolResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateCoipPoolResponse.Builder
coipPool
(Consumer<CoipPool.Builder> coipPool) Information about the CoIP address pool.Information about the CoIP address pool.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
coipPool
Information about the CoIP address pool.
- Parameters:
coipPool
- Information about the CoIP address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coipPool
Information about the CoIP address pool.
This is a convenience method that creates an instance of theCoipPool.Builder
avoiding the need to create one manually viaCoipPool.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoipPool(CoipPool)
.- Parameters:
coipPool
- a consumer that will call methods onCoipPool.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-