Package com.amazonaws.services.ec2.model
Class DescribeAccountAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeAccountAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<DescribeAccountAttributesRequest>,Serializable,Cloneable
public class DescribeAccountAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeAccountAttributesRequest>
Contains the parameters for DescribeAccountAttributes.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeAccountAttributesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAccountAttributesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getAttributeNames()One or more account attribute names.Request<DescribeAccountAttributesRequest>getDryRunRequest()This method is intended for internal use only.inthashCode()voidsetAttributeNames(Collection<String> attributeNames)One or more account attribute names.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeAccountAttributesRequestwithAttributeNames(AccountAttributeName... attributeNames)One or more account attribute names.DescribeAccountAttributesRequestwithAttributeNames(String... attributeNames)One or more account attribute names.DescribeAccountAttributesRequestwithAttributeNames(Collection<String> attributeNames)One or more account attribute names.-
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
-
getAttributeNames
public List<String> getAttributeNames()
One or more account attribute names.
- Returns:
- One or more account attribute names.
- See Also:
AccountAttributeName
-
setAttributeNames
public void setAttributeNames(Collection<String> attributeNames)
One or more account attribute names.
- Parameters:
attributeNames- One or more account attribute names.- See Also:
AccountAttributeName
-
withAttributeNames
public DescribeAccountAttributesRequest withAttributeNames(String... attributeNames)
One or more account attribute names.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeNames(java.util.Collection)orwithAttributeNames(java.util.Collection)if you want to override the existing values.- Parameters:
attributeNames- One or more account attribute names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountAttributeName
-
withAttributeNames
public DescribeAccountAttributesRequest withAttributeNames(Collection<String> attributeNames)
One or more account attribute names.
- Parameters:
attributeNames- One or more account attribute names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountAttributeName
-
withAttributeNames
public DescribeAccountAttributesRequest withAttributeNames(AccountAttributeName... attributeNames)
One or more account attribute names.
- Parameters:
attributeNames- One or more account attribute names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountAttributeName
-
getDryRunRequest
public Request<DescribeAccountAttributesRequest> 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<DescribeAccountAttributesRequest>
-
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 DescribeAccountAttributesRequest 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()
-
-