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.
NOOP
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, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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
VpcAttributeName
public void setAttribute(String attribute)
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute
- The VPC attribute.VpcAttributeName
public 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.VpcAttributeName
public void setAttribute(VpcAttributeName attribute)
Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames
attribute
- The VPC attribute.VpcAttributeName
public 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.VpcAttributeName
public Request<DescribeVpcAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeVpcAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.