@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountLimit extends Object implements Serializable, Cloneable, StructuredPojo
The current resource quotas associated with an Amazon Web Services account.
| Constructor and Description |
|---|
AccountLimit() |
| Modifier and Type | Method and Description |
|---|---|
AccountLimit |
clone() |
boolean |
equals(Object obj) |
Long |
getMax()
The Amazon Web Services set limit for that resource type, in US dollars.
|
String |
getName()
The name of the attribute to apply the account limit to.
|
Long |
getUsed()
The current amount that has been spent, in US dollars.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMax(Long max)
The Amazon Web Services set limit for that resource type, in US dollars.
|
void |
setName(String name)
The name of the attribute to apply the account limit to.
|
void |
setUsed(Long used)
The current amount that has been spent, in US dollars.
|
String |
toString()
Returns a string representation of this object.
|
AccountLimit |
withMax(Long max)
The Amazon Web Services set limit for that resource type, in US dollars.
|
AccountLimit |
withName(AccountLimitName name)
The name of the attribute to apply the account limit to.
|
AccountLimit |
withName(String name)
The name of the attribute to apply the account limit to.
|
AccountLimit |
withUsed(Long used)
The current amount that has been spent, in US dollars.
|
public void setName(String name)
The name of the attribute to apply the account limit to.
name - The name of the attribute to apply the account limit to.AccountLimitNamepublic String getName()
The name of the attribute to apply the account limit to.
AccountLimitNamepublic AccountLimit withName(String name)
The name of the attribute to apply the account limit to.
name - The name of the attribute to apply the account limit to.AccountLimitNamepublic AccountLimit withName(AccountLimitName name)
The name of the attribute to apply the account limit to.
name - The name of the attribute to apply the account limit to.AccountLimitNamepublic void setUsed(Long used)
The current amount that has been spent, in US dollars.
used - The current amount that has been spent, in US dollars.public Long getUsed()
The current amount that has been spent, in US dollars.
public AccountLimit withUsed(Long used)
The current amount that has been spent, in US dollars.
used - The current amount that has been spent, in US dollars.public void setMax(Long max)
The Amazon Web Services set limit for that resource type, in US dollars.
max - The Amazon Web Services set limit for that resource type, in US dollars.public Long getMax()
The Amazon Web Services set limit for that resource type, in US dollars.
public AccountLimit withMax(Long max)
The Amazon Web Services set limit for that resource type, in US dollars.
max - The Amazon Web Services set limit for that resource type, in US dollars.public String toString()
toString in class ObjectObject.toString()public AccountLimit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.