@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAttribute extends Object implements Serializable, Cloneable
Stores account attributes.
Constructor and Description |
---|
AccountAttribute() |
Modifier and Type | Method and Description |
---|---|
AccountAttribute |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximum()
The maximum allowed value.
|
String |
getName()
The attribute name.
|
Integer |
getUsed()
The current usage, such as the current number of servers associated with the account.
|
int |
hashCode() |
void |
setMaximum(Integer maximum)
The maximum allowed value.
|
void |
setName(String name)
The attribute name.
|
void |
setUsed(Integer used)
The current usage, such as the current number of servers associated with the account.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AccountAttribute |
withMaximum(Integer maximum)
The maximum allowed value.
|
AccountAttribute |
withName(String name)
The attribute name.
|
AccountAttribute |
withUsed(Integer used)
The current usage, such as the current number of servers associated with the account.
|
public void setName(String name)
The attribute name. The following are supported attribute names.
ServerLimit: The number of servers that currently existing / maximal allowed. By default 10 servers can be created.
ManualBackupLimit: The number of manual backups that currently exist / are maximal allowed. By default 50 manual backups can be created.
name
- The attribute name. The following are supported attribute names.
ServerLimit: The number of servers that currently existing / maximal allowed. By default 10 servers can be created.
ManualBackupLimit: The number of manual backups that currently exist / are maximal allowed. By default 50 manual backups can be created.
public String getName()
The attribute name. The following are supported attribute names.
ServerLimit: The number of servers that currently existing / maximal allowed. By default 10 servers can be created.
ManualBackupLimit: The number of manual backups that currently exist / are maximal allowed. By default 50 manual backups can be created.
ServerLimit: The number of servers that currently existing / maximal allowed. By default 10 servers can be created.
ManualBackupLimit: The number of manual backups that currently exist / are maximal allowed. By default 50 manual backups can be created.
public AccountAttribute withName(String name)
The attribute name. The following are supported attribute names.
ServerLimit: The number of servers that currently existing / maximal allowed. By default 10 servers can be created.
ManualBackupLimit: The number of manual backups that currently exist / are maximal allowed. By default 50 manual backups can be created.
name
- The attribute name. The following are supported attribute names.
ServerLimit: The number of servers that currently existing / maximal allowed. By default 10 servers can be created.
ManualBackupLimit: The number of manual backups that currently exist / are maximal allowed. By default 50 manual backups can be created.
public void setMaximum(Integer maximum)
The maximum allowed value.
maximum
- The maximum allowed value.public Integer getMaximum()
The maximum allowed value.
public AccountAttribute withMaximum(Integer maximum)
The maximum allowed value.
maximum
- The maximum allowed value.public void setUsed(Integer used)
The current usage, such as the current number of servers associated with the account.
used
- The current usage, such as the current number of servers associated with the account.public Integer getUsed()
The current usage, such as the current number of servers associated with the account.
public AccountAttribute withUsed(Integer used)
The current usage, such as the current number of servers associated with the account.
used
- The current usage, such as the current number of servers associated with the account.public String toString()
toString
in class Object
Object.toString()
public AccountAttribute clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.