@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcRequest>
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. | 
| String | getIpv6CidrBlock()
 The IPv6 CIDR block from the IPv6 address pool. | 
| String | getIpv6CidrBlockNetworkBorderGroup()
 The name of the location from which we advertise the IPV6 CIDR block. | 
| String | getIpv6Pool()
 The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. | 
| List<TagSpecification> | getTagSpecifications()
 The tags to assign to 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. | 
| void | setIpv6CidrBlock(String ipv6CidrBlock)
 The IPv6 CIDR block from the IPv6 address pool. | 
| void | setIpv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup)
 The name of the location from which we advertise the IPV6 CIDR block. | 
| void | setIpv6Pool(String ipv6Pool)
 The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. | 
| void | setTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to assign to the VPC. | 
| String | toString()Returns a string representation of this object. | 
| 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. | 
| CreateVpcRequest | withIpv6CidrBlock(String ipv6CidrBlock)
 The IPv6 CIDR block from the IPv6 address pool. | 
| CreateVpcRequest | withIpv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup)
 The name of the location from which we advertise the IPV6 CIDR block. | 
| CreateVpcRequest | withIpv6Pool(String ipv6Pool)
 The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. | 
| CreateVpcRequest | withTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to assign to the VPC. | 
| CreateVpcRequest | withTagSpecifications(TagSpecification... tagSpecifications)
 The tags to assign to 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, withRequestCredentialsProvider, 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. We modify the
        specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we
        modify it to 100.68.0.0/18.public void setCidrBlock(String cidrBlock)
 The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. We modify the
 specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it
 to 100.68.0.0/18.
 
cidrBlock - The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. We modify the
        specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we
        modify it to 100.68.0.0/18.public String getCidrBlock()
 The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. We modify the
 specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it
 to 100.68.0.0/18.
 
10.0.0.0/16. We modify
         the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18,
         we modify it to 100.68.0.0/18.public CreateVpcRequest withCidrBlock(String cidrBlock)
 The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. We modify the
 specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it
 to 100.68.0.0/18.
 
cidrBlock - The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. We modify the
        specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we
        modify it to 100.68.0.0/18.public 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 void setIpv6Pool(String ipv6Pool)
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
ipv6Pool - The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.public String getIpv6Pool()
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
public CreateVpcRequest withIpv6Pool(String ipv6Pool)
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
ipv6Pool - The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.public void setIpv6CidrBlock(String ipv6CidrBlock)
 The 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.
ipv6CidrBlock - The 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.
public String getIpv6CidrBlock()
 The 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.
Ipv6Pool in the
         request.
         To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
public CreateVpcRequest withIpv6CidrBlock(String ipv6CidrBlock)
 The 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.
ipv6CidrBlock - The 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.
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 setIpv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup)
The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the address to this location.
 You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
 
ipv6CidrBlockNetworkBorderGroup - The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the
        address to this location.
        
        You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
public String getIpv6CidrBlockNetworkBorderGroup()
The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the address to this location.
 You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
 
         You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
public CreateVpcRequest withIpv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup)
The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the address to this location.
 You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
 
ipv6CidrBlockNetworkBorderGroup - The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the
        address to this location.
        
        You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
public List<TagSpecification> getTagSpecifications()
The tags to assign to the VPC.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the VPC.
tagSpecifications - The tags to assign to the VPC.public CreateVpcRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the VPC.
 NOTE: This method appends the values to the existing list (if any). Use
 setTagSpecifications(java.util.Collection) or withTagSpecifications(java.util.Collection) if
 you want to override the existing values.
 
tagSpecifications - The tags to assign to the VPC.public CreateVpcRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the VPC.
tagSpecifications - The tags to assign to the VPC.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()