Interface AssociateVpcCidrBlockRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateVpcCidrBlockRequest.Builder,
,AssociateVpcCidrBlockRequest> Ec2Request.Builder
,SdkBuilder<AssociateVpcCidrBlockRequest.Builder,
,AssociateVpcCidrBlockRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateVpcCidrBlockRequest
-
Method Summary
Modifier and TypeMethodDescriptionamazonProvidedIpv6CidrBlock
(Boolean amazonProvidedIpv6CidrBlock) Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.An IPv4 CIDR block to associate with the VPC.ipv4IpamPoolId
(String ipv4IpamPoolId) Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.ipv4NetmaskLength
(Integer ipv4NetmaskLength) The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.ipv6CidrBlock
(String ipv6CidrBlock) An IPv6 CIDR block from the IPv6 address pool.ipv6CidrBlockNetworkBorderGroup
(String ipv6CidrBlockNetworkBorderGroup) The name of the location from which we advertise the IPV6 CIDR block.ipv6IpamPoolId
(String ipv6IpamPoolId) Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.ipv6NetmaskLength
(Integer ipv6NetmaskLength) The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the VPC.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 Details
-
amazonProvidedIpv6CidrBlock
AssociateVpcCidrBlockRequest.Builder amazonProvidedIpv6CidrBlock(Boolean amazonProvidedIpv6CidrBlock) Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses or the size of the CIDR block.
- Parameters:
amazonProvidedIpv6CidrBlock
- Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses or the size of the CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlock
An IPv4 CIDR block to associate with the VPC.
- Parameters:
cidrBlock
- An IPv4 CIDR block to associate with the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockNetworkBorderGroup
AssociateVpcCidrBlockRequest.Builder ipv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup) The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location.
You must set
AmazonProvidedIpv6CidrBlock
totrue
to use this parameter.You can have one IPv6 CIDR block association per network border group.
- Parameters:
ipv6CidrBlockNetworkBorderGroup
- The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location.You must set
AmazonProvidedIpv6CidrBlock
totrue
to use this parameter.You can have one IPv6 CIDR block association per network border group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Pool
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
- Parameters:
ipv6Pool
- The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlock
An IPv6 CIDR block from the IPv6 address pool. You must also specify
Ipv6Pool
in the request.To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
- Parameters:
ipv6CidrBlock
- An IPv6 CIDR block from the IPv6 address pool. You must also specifyIpv6Pool
in the request.To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4IpamPoolId
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.
- Parameters:
ipv4IpamPoolId
- Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4NetmaskLength
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
- Parameters:
ipv4NetmaskLength
- The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6IpamPoolId
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.
- Parameters:
ipv6IpamPoolId
- Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6NetmaskLength
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
- Parameters:
ipv6NetmaskLength
- The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateVpcCidrBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateVpcCidrBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-