|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeVpcAttributeRequest
public class DescribeVpcAttributeRequest
Container for the parameters to the DescribeVpcAttribute operation
.
Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
AmazonEC2.describeVpcAttribute(DescribeVpcAttributeRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeVpcAttributeRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeVpcAttributeRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |