@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAttribute extends Object implements Serializable, Cloneable, StructuredPojo
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 that are associated with the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 that are 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 that are associated with the account.
|
public void setName(String name)
The attribute name. The following are supported attribute names.
ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
name
- The attribute name. The following are supported attribute names.
ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
public String getName()
The attribute name. The following are supported attribute names.
ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
public AccountAttribute withName(String name)
The attribute name. The following are supported attribute names.
ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
name
- The attribute name. The following are supported attribute names.
ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
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 that are associated with the account.
used
- The current usage, such as the current number of servers that are associated with the account.public Integer getUsed()
The current usage, such as the current number of servers that are associated with the account.
public AccountAttribute withUsed(Integer used)
The current usage, such as the current number of servers that are associated with the account.
used
- The current usage, such as the current number of servers that are associated with the account.public String toString()
toString
in class Object
Object.toString()
public AccountAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.