public class DescribeVpcAttributeRequest extends AmazonWebServiceRequest implements 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(Object obj) |
String |
getAttribute()
The VPC attribute.
|
Request<DescribeVpcAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setAttribute(String attribute)
The VPC attribute.
|
void |
setAttribute(VpcAttributeName attribute)
The VPC attribute.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcAttributeRequest |
withAttribute(String attribute)
The VPC attribute.
|
DescribeVpcAttributeRequest |
withAttribute(VpcAttributeName attribute)
The VPC attribute.
|
DescribeVpcAttributeRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getVpcId()
public void setVpcId(String vpcId)
vpcId - The ID of the VPC.public DescribeVpcAttributeRequest 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 getAttribute()
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
VpcAttributeNamepublic void setAttribute(String attribute)
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute - The VPC attribute.VpcAttributeNamepublic DescribeVpcAttributeRequest withAttribute(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 String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.