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