public class DescribeAccountAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
Constructor and Description |
---|
DescribeAccountAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAttributeNames()
One or more account attribute names.
|
Request<DescribeAccountAttributesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
One or more account attribute names.
|
java.lang.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(java.util.Collection<java.lang.String> attributeNames)
One or more account attribute names.
|
DescribeAccountAttributesRequest |
withAttributeNames(java.lang.String... attributeNames)
One or more account attribute names.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getAttributeNames()
public void setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
attributeNames
- One or more account attribute names.public DescribeAccountAttributesRequest withAttributeNames(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.