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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateVpcRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateVpcRequest.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
,
Tenancy
CreateVpcRequest.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
,
Tenancy
CreateVpcRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateVpcRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.