@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBudgetActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateBudgetActionRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateBudgetActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId() |
ActionThreshold |
getActionThreshold() |
String |
getActionType()
The type of action.
|
String |
getApprovalModel()
This specifies if the action needs manual or automatic approval.
|
String |
getBudgetName() |
Definition |
getDefinition() |
String |
getExecutionRoleArn()
The role passed for action execution and reversion.
|
String |
getNotificationType() |
List<ResourceTag> |
getResourceTags()
An optional list of tags to associate with the specified budget action.
|
List<Subscriber> |
getSubscribers() |
int |
hashCode() |
void |
setAccountId(String accountId) |
void |
setActionThreshold(ActionThreshold actionThreshold) |
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) |
void |
setExecutionRoleArn(String executionRoleArn)
The role passed for action execution and reversion.
|
void |
setNotificationType(String notificationType) |
void |
setResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget action.
|
void |
setSubscribers(Collection<Subscriber> subscribers) |
String |
toString()
Returns a string representation of this object.
|
CreateBudgetActionRequest |
withAccountId(String accountId) |
CreateBudgetActionRequest |
withActionThreshold(ActionThreshold actionThreshold) |
CreateBudgetActionRequest |
withActionType(ActionType actionType)
The type of action.
|
CreateBudgetActionRequest |
withActionType(String actionType)
The type of action.
|
CreateBudgetActionRequest |
withApprovalModel(ApprovalModel approvalModel)
This specifies if the action needs manual or automatic approval.
|
CreateBudgetActionRequest |
withApprovalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
|
CreateBudgetActionRequest |
withBudgetName(String budgetName) |
CreateBudgetActionRequest |
withDefinition(Definition definition) |
CreateBudgetActionRequest |
withExecutionRoleArn(String executionRoleArn)
The role passed for action execution and reversion.
|
CreateBudgetActionRequest |
withNotificationType(NotificationType notificationType) |
CreateBudgetActionRequest |
withNotificationType(String notificationType) |
CreateBudgetActionRequest |
withResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget action.
|
CreateBudgetActionRequest |
withResourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified budget action.
|
CreateBudgetActionRequest |
withSubscribers(Collection<Subscriber> subscribers) |
CreateBudgetActionRequest |
withSubscribers(Subscriber... subscribers)
NOTE: This method appends the values to the existing list (if any).
|
addHandlerContext, 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 List<ResourceTag> getResourceTags()
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
public void setResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
resourceTags - An optional list of tags to associate with the specified budget action. Each tag consists of a key and a
value, and each key must be unique for the resource.public CreateBudgetActionRequest withResourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection) or withResourceTags(java.util.Collection) if you want to
override the existing values.
resourceTags - An optional list of tags to associate with the specified budget action. Each tag consists of a key and a
value, and each key must be unique for the resource.public CreateBudgetActionRequest withResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
resourceTags - An optional list of tags to associate with the specified budget action. Each tag consists of a key and a
value, and each key must be unique for the resource.public String toString()
toString in class ObjectObject.toString()public CreateBudgetActionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()