public class DescribeVpcClassicLinkDnsSupportRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
Constructor and Description |
---|
DescribeVpcClassicLinkDnsSupportRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of items to return for this request.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
java.util.List<java.lang.String> |
getVpcIds()
One or more VPC IDs.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
void |
setVpcIds(java.util.Collection<java.lang.String> vpcIds)
One or more VPC IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcClassicLinkDnsSupportRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
DescribeVpcClassicLinkDnsSupportRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
DescribeVpcClassicLinkDnsSupportRequest |
withVpcIds(java.util.Collection<java.lang.String> vpcIds)
One or more VPC IDs.
|
DescribeVpcClassicLinkDnsSupportRequest |
withVpcIds(java.lang.String... vpcIds)
One or more VPC IDs.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeVpcClassicLinkDnsSupportRequest()
public java.util.List<java.lang.String> getVpcIds()
public void setVpcIds(java.util.Collection<java.lang.String> vpcIds)
vpcIds
- One or more VPC IDs.public DescribeVpcClassicLinkDnsSupportRequest withVpcIds(java.lang.String... vpcIds)
Returns a reference to this object so that method calls can be chained together.
vpcIds
- One or more VPC IDs.public DescribeVpcClassicLinkDnsSupportRequest withVpcIds(java.util.Collection<java.lang.String> vpcIds)
Returns a reference to this object so that method calls can be chained together.
vpcIds
- One or more VPC IDs.public java.lang.Integer getMaxResults()
Constraints:
Range: 5 - 255
public void setMaxResults(java.lang.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(java.lang.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 java.lang.String getNextToken()
Constraints:
Length: 1 - 1024
public void setNextToken(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.