@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
- NotificationType
public String getNotificationType()
NotificationType
public Action withNotificationType(String notificationType)
notificationType
- NotificationType
public Action withNotificationType(NotificationType notificationType)
notificationType
- NotificationType
public 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.ActionType
public 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.
ActionType
public 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.ActionType
public 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.ActionType
public 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.ApprovalModel
public String getApprovalModel()
This specifies if the action needs manual or automatic approval.
ApprovalModel
public 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.ApprovalModel
public 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.ApprovalModel
public void setStatus(String status)
The status of the action.
status
- The status of the action.ActionStatus
public String getStatus()
The status of the action.
ActionStatus
public Action withStatus(String status)
The status of the action.
status
- The status of the action.ActionStatus
public Action withStatus(ActionStatus status)
The status of the action.
status
- The status of the action.ActionStatus
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.