public class EnableVpcClassicLinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<EnableVpcClassicLinkRequest>
EnableVpcClassicLink operation
.
Enables a VPC for ClassicLink. You can then link EC2-Classic instances
to your ClassicLink-enabled VPC to allow communication over private IP
addresses. You cannot enable your VPC for ClassicLink if any of your
VPC's route tables have existing routes for address ranges within the
10.0.0.0/8
IP address range, excluding local routes for
VPCs in the 10.0.0.0/16
and 10.1.0.0/16
IP
address ranges. For more information, see
ClassicLink
in the Amazon Elastic Compute Cloud User Guide.
NOOP
Constructor and Description |
---|
EnableVpcClassicLinkRequest() |
Modifier and Type | Method and Description |
---|---|
EnableVpcClassicLinkRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<EnableVpcClassicLinkRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableVpcClassicLinkRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public EnableVpcClassicLinkRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public Request<EnableVpcClassicLinkRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<EnableVpcClassicLinkRequest>
public String toString()
toString
in class Object
Object.toString()
public EnableVpcClassicLinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.