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 request.
|
boolean |
equals(Object obj) |
String |
getCidrBlock()
The network range for the VPC, in CIDR notation.
|
Request<CreateVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceTenancy()
The supported tenancy options for instances launched into the VPC.
|
int |
hashCode() |
void |
setCidrBlock(String cidrBlock)
The network range for the VPC, in CIDR notation.
|
void |
setInstanceTenancy(String instanceTenancy)
The supported tenancy options for instances launched into the VPC.
|
void |
setInstanceTenancy(Tenancy instanceTenancy)
The supported tenancy options for instances launched into the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpcRequest |
withCidrBlock(String cidrBlock)
The network range for the VPC, in CIDR notation.
|
CreateVpcRequest |
withInstanceTenancy(String instanceTenancy)
The supported tenancy options for instances launched into the VPC.
|
CreateVpcRequest |
withInstanceTenancy(Tenancy instanceTenancy)
The supported tenancy options for instances launched into the VPC.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateVpcRequest()
public CreateVpcRequest(String cidrBlock)
cidrBlock - The network range for the VPC, in CIDR notation. For example,
10.0.0.0/16.public void setCidrBlock(String cidrBlock)
The network range for the VPC, in CIDR notation. For example,
10.0.0.0/16.
cidrBlock - The network range for the VPC, in CIDR notation. For example,
10.0.0.0/16.public String getCidrBlock()
The 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 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16.
cidrBlock - The network range for the VPC, in CIDR notation. For example,
10.0.0.0/16.public void setInstanceTenancy(String instanceTenancy)
The supported tenancy options for instances launched into the VPC. A
value of default means that instances can be launched with
any tenancy; a value of dedicated means all instances
launched into the VPC are launched as dedicated tenancy instances
regardless of the tenancy assigned to the instance at launch. Dedicated
tenancy instances run on single-tenant hardware.
Important: The host value cannot be used with this
parameter. Use the default or dedicated values
only.
Default: default
instanceTenancy - The supported tenancy options for instances launched into the VPC.
A value of default means that instances can be
launched with any tenancy; a value of dedicated means
all instances launched into the VPC are launched as dedicated
tenancy instances regardless of the tenancy assigned to the
instance at launch. Dedicated tenancy instances run on
single-tenant hardware.
Important: The host value cannot be used with
this parameter. Use the default or
dedicated values only.
Default: default
Tenancypublic String getInstanceTenancy()
The supported tenancy options for instances launched into the VPC. A
value of default means that instances can be launched with
any tenancy; a value of dedicated means all instances
launched into the VPC are launched as dedicated tenancy instances
regardless of the tenancy assigned to the instance at launch. Dedicated
tenancy instances run on single-tenant hardware.
Important: The host value cannot be used with this
parameter. Use the default or dedicated values
only.
Default: default
default means that instances can be
launched with any tenancy; a value of dedicated
means all instances launched into the VPC are launched as
dedicated tenancy instances regardless of the tenancy assigned to
the instance at launch. Dedicated tenancy instances run on
single-tenant hardware.
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 supported tenancy options for instances launched into the VPC. A
value of default means that instances can be launched with
any tenancy; a value of dedicated means all instances
launched into the VPC are launched as dedicated tenancy instances
regardless of the tenancy assigned to the instance at launch. Dedicated
tenancy instances run on single-tenant hardware.
Important: The host value cannot be used with this
parameter. Use the default or dedicated values
only.
Default: default
instanceTenancy - The supported tenancy options for instances launched into the VPC.
A value of default means that instances can be
launched with any tenancy; a value of dedicated means
all instances launched into the VPC are launched as dedicated
tenancy instances regardless of the tenancy assigned to the
instance at launch. Dedicated tenancy instances run on
single-tenant hardware.
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 supported tenancy options for instances launched into the VPC. A
value of default means that instances can be launched with
any tenancy; a value of dedicated means all instances
launched into the VPC are launched as dedicated tenancy instances
regardless of the tenancy assigned to the instance at launch. Dedicated
tenancy instances run on single-tenant hardware.
Important: The host value cannot be used with this
parameter. Use the default or dedicated values
only.
Default: default
instanceTenancy - The supported tenancy options for instances launched into the VPC.
A value of default means that instances can be
launched with any tenancy; a value of dedicated means
all instances launched into the VPC are launched as dedicated
tenancy instances regardless of the tenancy assigned to the
instance at launch. Dedicated tenancy instances run on
single-tenant hardware.
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 supported tenancy options for instances launched into the VPC. A
value of default means that instances can be launched with
any tenancy; a value of dedicated means all instances
launched into the VPC are launched as dedicated tenancy instances
regardless of the tenancy assigned to the instance at launch. Dedicated
tenancy instances run on single-tenant hardware.
Important: The host value cannot be used with this
parameter. Use the default or dedicated values
only.
Default: default
instanceTenancy - The supported tenancy options for instances launched into the VPC.
A value of default means that instances can be
launched with any tenancy; a value of dedicated means
all instances launched into the VPC are launched as dedicated
tenancy instances regardless of the tenancy assigned to the
instance at launch. Dedicated tenancy instances run on
single-tenant hardware.
Important: The host value cannot be used with
this parameter. Use the default or
dedicated values only.
Default: default
Tenancypublic 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.