Interface AdvertiseByoipCidrRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AdvertiseByoipCidrRequest.Builder,AdvertiseByoipCidrRequest>
,Ec2Request.Builder
,SdkBuilder<AdvertiseByoipCidrRequest.Builder,AdvertiseByoipCidrRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- AdvertiseByoipCidrRequest
public static interface AdvertiseByoipCidrRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AdvertiseByoipCidrRequest.Builder,AdvertiseByoipCidrRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdvertiseByoipCidrRequest.Builder
asn(String asn)
The public 2-byte or 4-byte ASN that you want to advertise.AdvertiseByoipCidrRequest.Builder
cidr(String cidr)
The address range, in CIDR notation.AdvertiseByoipCidrRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.AdvertiseByoipCidrRequest.Builder
networkBorderGroup(String networkBorderGroup)
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR.AdvertiseByoipCidrRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AdvertiseByoipCidrRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
cidr
AdvertiseByoipCidrRequest.Builder cidr(String cidr)
The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.
- Parameters:
cidr
- The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asn
AdvertiseByoipCidrRequest.Builder asn(String asn)
The public 2-byte or 4-byte ASN that you want to advertise.
- Parameters:
asn
- The public 2-byte or 4-byte ASN that you want to advertise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
AdvertiseByoipCidrRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkBorderGroup
AdvertiseByoipCidrRequest.Builder networkBorderGroup(String networkBorderGroup)
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
- Parameters:
networkBorderGroup
- If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
AdvertiseByoipCidrRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AdvertiseByoipCidrRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-