public static interface CreateVpcRequest.Builder extends EC2Request.Builder, CopyableBuilder<CreateVpcRequest.Builder,CreateVpcRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateVpcRequest.Builder |
amazonProvidedIpv6CidrBlock(Boolean amazonProvidedIpv6CidrBlock)
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
|
CreateVpcRequest.Builder |
cidrBlock(String cidrBlock)
The IPv4 network range for the VPC, in CIDR notation.
|
CreateVpcRequest.Builder |
instanceTenancy(String instanceTenancy)
The tenancy options for instances launched into the VPC.
|
CreateVpcRequest.Builder |
instanceTenancy(Tenancy instanceTenancy)
The tenancy options for instances launched into the VPC.
|
CreateVpcRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateVpcRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCreateVpcRequest.Builder cidrBlock(String cidrBlock)
The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
cidrBlock - The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.CreateVpcRequest.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 IP addresses, or the size of the CIDR block.
amazonProvidedIpv6CidrBlock - Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify
the range of IP addresses, or the size of the CIDR block.CreateVpcRequest.Builder instanceTenancy(String instanceTenancy)
The tenancy options for instances launched into the VPC. For default, instances are launched
with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For
dedicated, instances are launched as dedicated tenancy instances by default. You can only launch
instances with a tenancy of dedicated or host into a dedicated tenancy VPC.
Important: The host value cannot be used with this parameter. Use the
default or dedicated values only.
Default: default
instanceTenancy - The tenancy options for instances launched into the VPC. For default, instances are
launched with shared tenancy by default. You can launch instances with any tenancy into a shared
tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by
default. You can only launch instances with a tenancy of dedicated or host
into a dedicated tenancy VPC.
Important: The host value cannot be used with this parameter. Use the
default or dedicated values only.
Default: default
Tenancy,
TenancyCreateVpcRequest.Builder instanceTenancy(Tenancy instanceTenancy)
The tenancy options for instances launched into the VPC. For default, instances are launched
with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For
dedicated, instances are launched as dedicated tenancy instances by default. You can only launch
instances with a tenancy of dedicated or host into a dedicated tenancy VPC.
Important: The host value cannot be used with this parameter. Use the
default or dedicated values only.
Default: default
instanceTenancy - The tenancy options for instances launched into the VPC. For default, instances are
launched with shared tenancy by default. You can launch instances with any tenancy into a shared
tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by
default. You can only launch instances with a tenancy of dedicated or host
into a dedicated tenancy VPC.
Important: The host value cannot be used with this parameter. Use the
default or dedicated values only.
Default: default
Tenancy,
TenancyCreateVpcRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateVpcRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.