Interface AssociateIpamByoasnResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateIpamByoasnResponse.Builder,,AssociateIpamByoasnResponse> Ec2Response.Builder,SdkBuilder<AssociateIpamByoasnResponse.Builder,,AssociateIpamByoasnResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateIpamByoasnResponse
public static interface AssociateIpamByoasnResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateIpamByoasnResponse.Builder,AssociateIpamByoasnResponse>
-
Method Summary
Modifier and TypeMethodDescriptionasnAssociation(Consumer<AsnAssociation.Builder> asnAssociation) The ASN and BYOIP CIDR association.asnAssociation(AsnAssociation asnAssociation) The ASN and BYOIP CIDR association.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
-
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:
-