Interface CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder,,CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest> Ec2Request.Builder,SdkBuilder<CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder,,CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.ipamPoolId(String ipamPoolId) The ID of the IPAM pool that manages the CIDR block to advertise.ipv4CidrBlock(String ipv4CidrBlock) The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise.ipv4NetmaskLength(Integer ipv4NetmaskLength) The netmask length of the IPv4 CIDR block for Amazon to allocate.ipv6CidrBlock(String ipv6CidrBlock) The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise.ipv6NetmaskLength(Integer ipv6NetmaskLength) The netmask length of the IPv6 CIDR block for Amazon to allocate.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The locations where the CIDR block can be advertised.The locations where the CIDR block can be advertised.typesWithStrings(String... types) The locations where the CIDR block can be advertised.typesWithStrings(Collection<String> types) The locations where the CIDR block can be advertised.virtualEdgeNetworkGatewayId(String virtualEdgeNetworkGatewayId) The ID of the virtual edge network gateway.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
virtualEdgeNetworkGatewayId
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder virtualEdgeNetworkGatewayId(String virtualEdgeNetworkGatewayId) The ID of the virtual edge network gateway.
- Parameters:
virtualEdgeNetworkGatewayId- The ID of the virtual edge network gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
ipamPoolId
The ID of the IPAM pool that manages the CIDR block to advertise. If you specify
IpamPoolId, you must also specifyIpv4CidrBlockorIpv6CidrBlock.- Parameters:
ipamPoolId- The ID of the IPAM pool that manages the CIDR block to advertise. If you specifyIpamPoolId, you must also specifyIpv4CidrBlockorIpv6CidrBlock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlock
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder ipv4CidrBlock(String ipv4CidrBlock) The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise. The CIDR block must be within a CIDR provisioned to the IPAM pool that you specify in
IpamPoolId, and its prefix length must be /24 or shorter. The CIDR block must not overlap with an existing allowed advertisement from the same IPAM pool in the same Availability Zone.- Parameters:
ipv4CidrBlock- The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise. The CIDR block must be within a CIDR provisioned to the IPAM pool that you specify inIpamPoolId, and its prefix length must be /24 or shorter. The CIDR block must not overlap with an existing allowed advertisement from the same IPAM pool in the same Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4NetmaskLength
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder ipv4NetmaskLength(Integer ipv4NetmaskLength) The netmask length of the IPv4 CIDR block for Amazon to allocate. Valid values are from 28 to 30. You can't specify
Ipv4NetmaskLengthwithIpamPoolIdor a CIDR block. When you specify a netmask length, the only supported type isinternet.- Parameters:
ipv4NetmaskLength- The netmask length of the IPv4 CIDR block for Amazon to allocate. Valid values are from 28 to 30. You can't specifyIpv4NetmaskLengthwithIpamPoolIdor a CIDR block. When you specify a netmask length, the only supported type isinternet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlock
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder ipv6CidrBlock(String ipv6CidrBlock) The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise. The CIDR block must be within a CIDR provisioned to the IPAM pool that you specify in
IpamPoolId, and its prefix length must be /48 or shorter. The CIDR block must not overlap with an existing allowed advertisement from the same IPAM pool in the same Availability Zone.- Parameters:
ipv6CidrBlock- The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise. The CIDR block must be within a CIDR provisioned to the IPAM pool that you specify inIpamPoolId, and its prefix length must be /48 or shorter. The CIDR block must not overlap with an existing allowed advertisement from the same IPAM pool in the same Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6NetmaskLength
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder ipv6NetmaskLength(Integer ipv6NetmaskLength) The netmask length of the IPv6 CIDR block for Amazon to allocate. Valid values are from 52 to 64. You can't specify
Ipv6NetmaskLengthwithIpamPoolIdor a CIDR block. When you specify a netmask length, the only supported type isinternet.- Parameters:
ipv6NetmaskLength- The netmask length of the IPv6 CIDR block for Amazon to allocate. Valid values are from 52 to 64. You can't specifyIpv6NetmaskLengthwithIpamPoolIdor a CIDR block. When you specify a netmask length, the only supported type isinternet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder typesWithStrings(Collection<String> types) The locations where the CIDR block can be advertised.
internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Parameters:
types- The locations where the CIDR block can be advertised.internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder typesWithStrings(String... types) The locations where the CIDR block can be advertised.
internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Parameters:
types- The locations where the CIDR block can be advertised.internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder types(Collection<VirtualEdgeNetworkGatewayAllowedAdvertisementType> types) The locations where the CIDR block can be advertised.
internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Parameters:
types- The locations where the CIDR block can be advertised.internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder types(VirtualEdgeNetworkGatewayAllowedAdvertisementType... types) The locations where the CIDR block can be advertised.
internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Parameters:
types- The locations where the CIDR block can be advertised.internetalso includesaws-global-network, so you can't specify both.If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is
internet. The type defaults tointernetif you omit this parameter. Otherwise, you must specify at least one type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVirtualEdgeNetworkGatewayAllowedAdvertisementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-