Class AccountLimit
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.AccountLimit
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AccountLimit extends Object implements Serializable, Cloneable
The AccountLimit data type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountLimit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountLimit
clone()
boolean
equals(Object obj)
String
getName()
The name of the account limit.Integer
getValue()
The value that is associated with the account limit name.int
hashCode()
void
setName(String name)
The name of the account limit.void
setValue(Integer value)
The value that is associated with the account limit name.String
toString()
Returns a string representation of this object; useful for testing and debugging.AccountLimit
withName(String name)
The name of the account limit.AccountLimit
withValue(Integer value)
The value that is associated with the account limit name.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the account limit. Currently, the only account limit is
StackLimit
.- Parameters:
name
- The name of the account limit. Currently, the only account limit isStackLimit
.
-
getName
public String getName()
The name of the account limit. Currently, the only account limit is
StackLimit
.- Returns:
- The name of the account limit. Currently, the only account limit
is
StackLimit
.
-
withName
public AccountLimit withName(String name)
The name of the account limit. Currently, the only account limit is
StackLimit
.- Parameters:
name
- The name of the account limit. Currently, the only account limit isStackLimit
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
public void setValue(Integer value)
The value that is associated with the account limit name.
- Parameters:
value
- The value that is associated with the account limit name.
-
getValue
public Integer getValue()
The value that is associated with the account limit name.
- Returns:
- The value that is associated with the account limit name.
-
withValue
public AccountLimit withValue(Integer value)
The value that is associated with the account limit name.
- Parameters:
value
- The value that is associated with the account limit name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountLimit clone()
-
-