@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcRequest>
Contains the parameters for CreateVpc.
NOOP| Constructor and Description | 
|---|
| CreateVpcRequest()Default constructor for CreateVpcRequest object. | 
| CreateVpcRequest(String cidrBlock)Constructs a new CreateVpcRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateVpcRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| Boolean | getAmazonProvidedIpv6CidrBlock()
 Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. | 
| String | getCidrBlock()
 The IPv4 network range for the VPC, in CIDR notation. | 
| Request<CreateVpcRequest> | getDryRunRequest()This method is intended for internal use only. | 
| String | getInstanceTenancy()
 The tenancy options for instances launched into the VPC. | 
| int | hashCode() | 
| Boolean | isAmazonProvidedIpv6CidrBlock()
 Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. | 
| void | setAmazonProvidedIpv6CidrBlock(Boolean amazonProvidedIpv6CidrBlock)
 Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. | 
| void | setCidrBlock(String cidrBlock)
 The IPv4 network range for the VPC, in CIDR notation. | 
| void | setInstanceTenancy(String instanceTenancy)
 The tenancy options for instances launched into the VPC. | 
| void | setInstanceTenancy(Tenancy instanceTenancy)
 The tenancy options for instances launched into the VPC. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| CreateVpcRequest | withAmazonProvidedIpv6CidrBlock(Boolean amazonProvidedIpv6CidrBlock)
 Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. | 
| CreateVpcRequest | withCidrBlock(String cidrBlock)
 The IPv4 network range for the VPC, in CIDR notation. | 
| CreateVpcRequest | withInstanceTenancy(String instanceTenancy)
 The tenancy options for instances launched into the VPC. | 
| CreateVpcRequest | withInstanceTenancy(Tenancy instanceTenancy)
 The tenancy options for instances launched into the VPC. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateVpcRequest()
public CreateVpcRequest(String cidrBlock)
cidrBlock - The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.public void setCidrBlock(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.public String getCidrBlock()
 The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
 
10.0.0.0/16.public CreateVpcRequest withCidrBlock(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.public void setInstanceTenancy(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
Tenancypublic String getInstanceTenancy()
 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
Tenancypublic CreateVpcRequest withInstanceTenancy(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
Tenancypublic void setInstanceTenancy(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
Tenancypublic CreateVpcRequest withInstanceTenancy(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
Tenancypublic void setAmazonProvidedIpv6CidrBlock(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.public Boolean getAmazonProvidedIpv6CidrBlock()
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 CreateVpcRequest withAmazonProvidedIpv6CidrBlock(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.public Boolean isAmazonProvidedIpv6CidrBlock()
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 Request<CreateVpcRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateVpcRequest>public String toString()
toString in class ObjectObject.toString()public CreateVpcRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.