Interface AssociateIpamByoasnResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateIpamByoasnResponse.Builder,AssociateIpamByoasnResponse>,Ec2Response.Builder,SdkBuilder<AssociateIpamByoasnResponse.Builder,AssociateIpamByoasnResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssociateIpamByoasnResponse
@Mutable @NotThreadSafe public static interface AssociateIpamByoasnResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateIpamByoasnResponse.Builder,AssociateIpamByoasnResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateIpamByoasnResponse.BuilderasnAssociation(Consumer<AsnAssociation.Builder> asnAssociation)The ASN and BYOIP CIDR association.AssociateIpamByoasnResponse.BuilderasnAssociation(AsnAssociation asnAssociation)The ASN and BYOIP CIDR association.-
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 Detail
-
asnAssociation
AssociateIpamByoasnResponse.Builder asnAssociation(AsnAssociation asnAssociation)
The ASN and BYOIP CIDR association.
- Parameters:
asnAssociation- The ASN and BYOIP CIDR association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociation
default AssociateIpamByoasnResponse.Builder asnAssociation(Consumer<AsnAssociation.Builder> asnAssociation)
The ASN and BYOIP CIDR association.
This is a convenience method that creates an instance of theAsnAssociation.Builderavoiding the need to create one manually viaAsnAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toasnAssociation(AsnAssociation).- Parameters:
asnAssociation- a consumer that will call methods onAsnAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
asnAssociation(AsnAssociation)
-
-