public class EnableVpcClassicLinkRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
| Constructor and Description |
|---|
EnableVpcClassicLinkRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Request<EnableVpcClassicLinkRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableVpcClassicLinkRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - The ID of the VPC.public EnableVpcClassicLinkRequest withVpcId(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.