public class EnableVpcClassicLinkDnsSupportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
EnableVpcClassicLinkDnsSupport operation
.
Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
NOOP
Constructor and Description |
---|
EnableVpcClassicLinkDnsSupportRequest() |
Modifier and Type | Method and Description |
---|---|
EnableVpcClassicLinkDnsSupportRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
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.
|
EnableVpcClassicLinkDnsSupportRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public EnableVpcClassicLinkDnsSupportRequest()
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public EnableVpcClassicLinkDnsSupportRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public String toString()
toString
in class Object
Object.toString()
public EnableVpcClassicLinkDnsSupportRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.