Interface DeprovisionIpamByoasnResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeprovisionIpamByoasnResponse.Builder,
,DeprovisionIpamByoasnResponse> Ec2Response.Builder
,SdkBuilder<DeprovisionIpamByoasnResponse.Builder,
,DeprovisionIpamByoasnResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeprovisionIpamByoasnResponse
public static interface DeprovisionIpamByoasnResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeprovisionIpamByoasnResponse.Builder,DeprovisionIpamByoasnResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbyoasn
(Consumer<Byoasn.Builder> byoasn) An ASN and BYOIP CIDR association.An 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
byoasn
An ASN and BYOIP CIDR association.
- Parameters:
byoasn
- An ASN and BYOIP CIDR association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byoasn
An ASN and BYOIP CIDR association.
This is a convenience method that creates an instance of theByoasn.Builder
avoiding the need to create one manually viaByoasn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobyoasn(Byoasn)
.- Parameters:
byoasn
- a consumer that will call methods onByoasn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-