Package com.amazonaws.services.ec2.model
Class DescribeVpcAttributeRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeVpcAttributeRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<DescribeVpcAttributeRequest>,Serializable,Cloneable
public class DescribeVpcAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeVpcAttributeRequest>
Contains the parameters for DescribeVpcAttribute.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeVpcAttributeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVpcAttributeRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAttribute()The VPC attribute.Request<DescribeVpcAttributeRequest>getDryRunRequest()This method is intended for internal use only.StringgetVpcId()The ID of the VPC.inthashCode()voidsetAttribute(VpcAttributeName attribute)The VPC attribute.voidsetAttribute(String attribute)The VPC attribute.voidsetVpcId(String vpcId)The ID of the VPC.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeVpcAttributeRequestwithAttribute(VpcAttributeName attribute)The VPC attribute.DescribeVpcAttributeRequestwithAttribute(String attribute)The VPC attribute.DescribeVpcAttributeRequestwithVpcId(String vpcId)The ID of the VPC.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setVpcId
public void setVpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.
-
getVpcId
public String getVpcId()
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
public DescribeVpcAttributeRequest withVpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttribute
public void setAttribute(String attribute)
The VPC attribute.
- Parameters:
attribute- The VPC attribute.- See Also:
VpcAttributeName
-
getAttribute
public String getAttribute()
The VPC attribute.
- Returns:
- The VPC attribute.
- See Also:
VpcAttributeName
-
withAttribute
public DescribeVpcAttributeRequest withAttribute(String attribute)
The VPC attribute.
- Parameters:
attribute- The VPC attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpcAttributeName
-
setAttribute
public void setAttribute(VpcAttributeName attribute)
The VPC attribute.
- Parameters:
attribute- The VPC attribute.- See Also:
VpcAttributeName
-
withAttribute
public DescribeVpcAttributeRequest withAttribute(VpcAttributeName attribute)
The VPC attribute.
- Parameters:
attribute- The VPC attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpcAttributeName
-
getDryRunRequest
public Request<DescribeVpcAttributeRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<DescribeVpcAttributeRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpcAttributeRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-