@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BudgetActionToAdd extends Object implements Serializable, Cloneable, StructuredPojo
The budget action to add.
Constructor and Description |
---|
BudgetActionToAdd() |
Modifier and Type | Method and Description |
---|---|
BudgetActionToAdd |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description for the budget action to add.
|
Float |
getThresholdPercentage()
The percentage threshold for the budget action to add.
|
String |
getType()
The type of budget action to add.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description for the budget action to add.
|
void |
setThresholdPercentage(Float thresholdPercentage)
The percentage threshold for the budget action to add.
|
void |
setType(String type)
The type of budget action to add.
|
String |
toString()
Returns a string representation of this object.
|
BudgetActionToAdd |
withDescription(String description)
A description for the budget action to add.
|
BudgetActionToAdd |
withThresholdPercentage(Float thresholdPercentage)
The percentage threshold for the budget action to add.
|
BudgetActionToAdd |
withType(BudgetActionType type)
The type of budget action to add.
|
BudgetActionToAdd |
withType(String type)
The type of budget action to add.
|
public void setDescription(String description)
A description for the budget action to add.
description
- A description for the budget action to add.public String getDescription()
A description for the budget action to add.
public BudgetActionToAdd withDescription(String description)
A description for the budget action to add.
description
- A description for the budget action to add.public void setThresholdPercentage(Float thresholdPercentage)
The percentage threshold for the budget action to add.
thresholdPercentage
- The percentage threshold for the budget action to add.public Float getThresholdPercentage()
The percentage threshold for the budget action to add.
public BudgetActionToAdd withThresholdPercentage(Float thresholdPercentage)
The percentage threshold for the budget action to add.
thresholdPercentage
- The percentage threshold for the budget action to add.public void setType(String type)
The type of budget action to add.
type
- The type of budget action to add.BudgetActionType
public String getType()
The type of budget action to add.
BudgetActionType
public BudgetActionToAdd withType(String type)
The type of budget action to add.
type
- The type of budget action to add.BudgetActionType
public BudgetActionToAdd withType(BudgetActionType type)
The type of budget action to add.
type
- The type of budget action to add.BudgetActionType
public String toString()
toString
in class Object
Object.toString()
public BudgetActionToAdd clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.