public class DescribeVpcAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeVpcAttributeRequest>
DescribeVpcAttribute operation.
Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
| Constructor and Description |
|---|
DescribeVpcAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute()
The VPC attribute.
|
Request<DescribeVpcAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setAttribute(java.lang.String attribute)
The VPC attribute.
|
void |
setAttribute(VpcAttributeName attribute)
The VPC attribute.
|
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.
|
DescribeVpcAttributeRequest |
withAttribute(java.lang.String attribute)
The VPC attribute.
|
DescribeVpcAttributeRequest |
withAttribute(VpcAttributeName attribute)
The VPC attribute.
|
DescribeVpcAttributeRequest |
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 DescribeVpcAttributeRequest 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 java.lang.String getAttribute()
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
VpcAttributeNamepublic void setAttribute(java.lang.String attribute)
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute - The VPC attribute.VpcAttributeNamepublic DescribeVpcAttributeRequest withAttribute(java.lang.String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute - The VPC attribute.VpcAttributeNamepublic void setAttribute(VpcAttributeName attribute)
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute - The VPC attribute.VpcAttributeNamepublic DescribeVpcAttributeRequest withAttribute(VpcAttributeName attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute - The VPC attribute.VpcAttributeNamepublic Request<DescribeVpcAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeVpcAttributeRequest>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.