@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBudgetActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateBudgetActionRequest() |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAccountId(String accountId)
accountId - public String getAccountId()
public CreateBudgetActionRequest withAccountId(String accountId)
accountId - public void setBudgetName(String budgetName)
budgetName - public String getBudgetName()
public CreateBudgetActionRequest withBudgetName(String budgetName)
budgetName - public void setNotificationType(String notificationType)
notificationType - NotificationTypepublic String getNotificationType()
NotificationTypepublic CreateBudgetActionRequest withNotificationType(String notificationType)
notificationType - NotificationTypepublic CreateBudgetActionRequest 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 CreateBudgetActionRequest 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 CreateBudgetActionRequest 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)
actionThreshold - public ActionThreshold getActionThreshold()
public CreateBudgetActionRequest withActionThreshold(ActionThreshold actionThreshold)
actionThreshold - public void setDefinition(Definition definition)
definition - public Definition getDefinition()
public CreateBudgetActionRequest withDefinition(Definition definition)
definition - 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 CreateBudgetActionRequest 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 CreateBudgetActionRequest 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 CreateBudgetActionRequest 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 List<Subscriber> getSubscribers()
public void setSubscribers(Collection<Subscriber> subscribers)
subscribers - public CreateBudgetActionRequest 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 CreateBudgetActionRequest withSubscribers(Collection<Subscriber> subscribers)
subscribers - public String toString()
toString in class ObjectObject.toString()public CreateBudgetActionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.