Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateVpcRequest.Builder,CreateVpcRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateVpcRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateVpcRequest.Builder,CreateVpcRequest>
Contains the parameters for CreateVpc.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateVpcRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
Boolean |
amazonProvidedIpv6CidrBlock() |
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
|
static CreateVpcRequest.Builder |
builder() |
|
String |
cidrBlock() |
The IPv4 network range for the VPC, in CIDR notation.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceTenancy() |
The tenancy options for instances launched into the VPC.
|
static Class<? extends CreateVpcRequest.Builder> |
serializableBuilderClass() |
|
CreateVpcRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String cidrBlock()
The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16
.
10.0.0.0/16
.public 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.
public 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
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
public CreateVpcRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateVpcRequest.Builder,CreateVpcRequest>
public static CreateVpcRequest.Builder builder()
public static Class<? extends CreateVpcRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.