public class DescribeVpcClassicLinkDnsSupportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeVpcClassicLinkDnsSupport operation
.
Describes the ClassicLink DNS support status of one or more VPCs. 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 |
---|
DescribeVpcClassicLinkDnsSupportRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcClassicLinkDnsSupportRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token for the next set of items to return.
|
List<String> |
getVpcIds()
One or more VPC IDs.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setVpcIds(Collection<String> vpcIds)
One or more VPC IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcClassicLinkDnsSupportRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeVpcClassicLinkDnsSupportRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribeVpcClassicLinkDnsSupportRequest |
withVpcIds(Collection<String> vpcIds)
One or more VPC IDs.
|
DescribeVpcClassicLinkDnsSupportRequest |
withVpcIds(String... vpcIds)
One or more VPC IDs.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeVpcClassicLinkDnsSupportRequest()
public void setVpcIds(Collection<String> vpcIds)
vpcIds
- One or more VPC IDs.public DescribeVpcClassicLinkDnsSupportRequest withVpcIds(String... vpcIds)
NOTE: This method appends the values to the existing list (if
any). Use setVpcIds(java.util.Collection)
or withVpcIds(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
vpcIds
- One or more VPC IDs.public DescribeVpcClassicLinkDnsSupportRequest withVpcIds(Collection<String> vpcIds)
Returns a reference to this object so that method calls can be chained together.
vpcIds
- One or more VPC IDs.public Integer getMaxResults()
Constraints:
Range: 5 - 255
public void setMaxResults(Integer maxResults)
Constraints:
Range: 5 - 255
maxResults
- The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results.public DescribeVpcClassicLinkDnsSupportRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 5 - 255
maxResults
- The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results.public String getNextToken()
Constraints:
Length: 1 - 1024
public void setNextToken(String nextToken)
Constraints:
Length: 1 - 1024
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public DescribeVpcClassicLinkDnsSupportRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public String toString()
toString
in class Object
Object.toString()
public DescribeVpcClassicLinkDnsSupportRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.