@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
A budget action resource.
| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
Action |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
A system-generated universally unique identifier (UUID) for the action.
|
ActionThreshold |
getActionThreshold()
The trigger threshold of the action.
|
String |
getActionType()
The type of action.
|
String |
getApprovalModel()
This specifies if the action needs manual or automatic approval.
|
String |
getBudgetName() |
Definition |
getDefinition()
Where you specify all of the type-specific parameters.
|
String |
getExecutionRoleArn()
The role passed for action execution and reversion.
|
String |
getNotificationType() |
String |
getStatus()
The status of the action.
|
List<Subscriber> |
getSubscribers() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
|
void |
setActionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
|
void |
setActionType(String actionType)
The type of action.
|
void |
setApprovalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
|
void |
setBudgetName(String budgetName) |
void |
setDefinition(Definition definition)
Where you specify all of the type-specific parameters.
|
void |
setExecutionRoleArn(String executionRoleArn)
The role passed for action execution and reversion.
|
void |
setNotificationType(String notificationType) |
void |
setStatus(String status)
The status of the action.
|
void |
setSubscribers(Collection<Subscriber> subscribers) |
String |
toString()
Returns a string representation of this object.
|
Action |
withActionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
|
Action |
withActionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
|
Action |
withActionType(ActionType actionType)
The type of action.
|
Action |
withActionType(String actionType)
The type of action.
|
Action |
withApprovalModel(ApprovalModel approvalModel)
This specifies if the action needs manual or automatic approval.
|
Action |
withApprovalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
|
Action |
withBudgetName(String budgetName) |
Action |
withDefinition(Definition definition)
Where you specify all of the type-specific parameters.
|
Action |
withExecutionRoleArn(String executionRoleArn)
The role passed for action execution and reversion.
|
Action |
withNotificationType(NotificationType notificationType) |
Action |
withNotificationType(String notificationType) |
Action |
withStatus(ActionStatus status)
The status of the action.
|
Action |
withStatus(String status)
The status of the action.
|
Action |
withSubscribers(Collection<Subscriber> subscribers) |
Action |
withSubscribers(Subscriber... subscribers)
NOTE: This method appends the values to the existing list (if any).
|
public void setActionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
actionId - A system-generated universally unique identifier (UUID) for the action.public String getActionId()
A system-generated universally unique identifier (UUID) for the action.
public Action withActionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
actionId - A system-generated universally unique identifier (UUID) for the action.public void setBudgetName(String budgetName)
budgetName - public String getBudgetName()
public Action withBudgetName(String budgetName)
budgetName - public void setNotificationType(String notificationType)
notificationType - NotificationTypepublic String getNotificationType()
NotificationTypepublic Action withNotificationType(String notificationType)
notificationType - NotificationTypepublic Action withNotificationType(NotificationType notificationType)
notificationType - NotificationTypepublic void setActionType(String actionType)
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
actionType - The type of action. This defines the type of tasks that can be carried out by this action. This field also
determines the format for definition.ActionTypepublic String getActionType()
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
ActionTypepublic Action withActionType(String actionType)
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
actionType - The type of action. This defines the type of tasks that can be carried out by this action. This field also
determines the format for definition.ActionTypepublic Action withActionType(ActionType actionType)
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
actionType - The type of action. This defines the type of tasks that can be carried out by this action. This field also
determines the format for definition.ActionTypepublic void setActionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
actionThreshold - The trigger threshold of the action.public ActionThreshold getActionThreshold()
The trigger threshold of the action.
public Action withActionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
actionThreshold - The trigger threshold of the action.public void setDefinition(Definition definition)
Where you specify all of the type-specific parameters.
definition - Where you specify all of the type-specific parameters.public Definition getDefinition()
Where you specify all of the type-specific parameters.
public Action withDefinition(Definition definition)
Where you specify all of the type-specific parameters.
definition - Where you specify all of the type-specific parameters.public void setExecutionRoleArn(String executionRoleArn)
The role passed for action execution and reversion. Roles and actions must be in the same account.
executionRoleArn - The role passed for action execution and reversion. Roles and actions must be in the same account.public String getExecutionRoleArn()
The role passed for action execution and reversion. Roles and actions must be in the same account.
public Action withExecutionRoleArn(String executionRoleArn)
The role passed for action execution and reversion. Roles and actions must be in the same account.
executionRoleArn - The role passed for action execution and reversion. Roles and actions must be in the same account.public void setApprovalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
approvalModel - This specifies if the action needs manual or automatic approval.ApprovalModelpublic String getApprovalModel()
This specifies if the action needs manual or automatic approval.
ApprovalModelpublic Action withApprovalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
approvalModel - This specifies if the action needs manual or automatic approval.ApprovalModelpublic Action withApprovalModel(ApprovalModel approvalModel)
This specifies if the action needs manual or automatic approval.
approvalModel - This specifies if the action needs manual or automatic approval.ApprovalModelpublic void setStatus(String status)
The status of the action.
status - The status of the action.ActionStatuspublic String getStatus()
The status of the action.
ActionStatuspublic Action withStatus(String status)
The status of the action.
status - The status of the action.ActionStatuspublic Action withStatus(ActionStatus status)
The status of the action.
status - The status of the action.ActionStatuspublic List<Subscriber> getSubscribers()
public void setSubscribers(Collection<Subscriber> subscribers)
subscribers - public Action withSubscribers(Subscriber... subscribers)
NOTE: This method appends the values to the existing list (if any). Use
setSubscribers(java.util.Collection) or withSubscribers(java.util.Collection) if you want to
override the existing values.
subscribers - public Action withSubscribers(Collection<Subscriber> subscribers)
subscribers - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.