public class DescribeAccountAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeAccountAttributesRequest>
DescribeAccountAttributes operation
.
Describes attributes of your AWS account. The following are the supported account attributes:
supported-platforms
: Indicates whether your account can
launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC.
default-vpc
: The ID of the default VPC for your
account, or none
.
max-instances
: The maximum number of On-Demand
instances that you can run.
vpc-max-security-groups-per-interface
: The maximum
number of security groups that you can assign to a network interface.
max-elastic-ips
: The maximum number of Elastic IP
addresses that you can allocate for use with EC2-Classic.
vpc-max-elastic-ips
: The maximum number of Elastic IP
addresses that you can allocate for use with EC2-VPC.
NOOP
Constructor and Description |
---|
DescribeAccountAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAccountAttributesRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAttributeNames()
One or more account attribute names.
|
Request<DescribeAccountAttributesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setAttributeNames(Collection<String> attributeNames)
One or more account attribute names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAccountAttributesRequest |
withAttributeNames(AccountAttributeName... attributeNames)
One or more account attribute names.
|
DescribeAccountAttributesRequest |
withAttributeNames(Collection<String> attributeNames)
One or more account attribute names.
|
DescribeAccountAttributesRequest |
withAttributeNames(String... attributeNames)
One or more account attribute names.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getAttributeNames()
public void setAttributeNames(Collection<String> attributeNames)
attributeNames
- One or more account attribute names.public DescribeAccountAttributesRequest withAttributeNames(String... attributeNames)
NOTE: This method appends the values to the existing list (if
any). Use setAttributeNames(java.util.Collection)
or withAttributeNames(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
attributeNames
- One or more account attribute names.public DescribeAccountAttributesRequest withAttributeNames(Collection<String> attributeNames)
Returns a reference to this object so that method calls can be chained together.
attributeNames
- One or more account attribute names.public DescribeAccountAttributesRequest withAttributeNames(AccountAttributeName... attributeNames)
Returns a reference to this object so that method calls can be chained together.
attributeNames
- One or more account attribute names.public Request<DescribeAccountAttributesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeAccountAttributesRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeAccountAttributesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.