public static interface Action.Builder extends SdkPojo, CopyableBuilder<Action.Builder,Action>
| Modifier and Type | Method and Description |
|---|---|
Action.Builder |
actionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
|
Action.Builder |
actionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
|
default Action.Builder |
actionThreshold(Consumer<ActionThreshold.Builder> actionThreshold)
The trigger threshold of the action.
|
Action.Builder |
actionType(ActionType actionType)
The type of action.
|
Action.Builder |
actionType(String actionType)
The type of action.
|
Action.Builder |
approvalModel(ApprovalModel approvalModel)
This specifies if the action needs manual or automatic approval.
|
Action.Builder |
approvalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
|
Action.Builder |
budgetName(String budgetName)
Sets the value of the BudgetName property for this object.
|
default Action.Builder |
definition(Consumer<Definition.Builder> definition)
Where you specify all of the type-specific parameters.
|
Action.Builder |
definition(Definition definition)
Where you specify all of the type-specific parameters.
|
Action.Builder |
executionRoleArn(String executionRoleArn)
The role passed for action execution and reversion.
|
Action.Builder |
notificationType(NotificationType notificationType)
Sets the value of the NotificationType property for this object.
|
Action.Builder |
notificationType(String notificationType)
Sets the value of the NotificationType property for this object.
|
Action.Builder |
status(ActionStatus status)
The status of the action.
|
Action.Builder |
status(String status)
The status of the action.
|
Action.Builder |
subscribers(Collection<Subscriber> subscribers)
Sets the value of the Subscribers property for this object.
|
Action.Builder |
subscribers(Consumer<Subscriber.Builder>... subscribers)
Sets the value of the Subscribers property for this object.
|
Action.Builder |
subscribers(Subscriber... subscribers)
Sets the value of the Subscribers property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAction.Builder actionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
actionId - A system-generated universally unique identifier (UUID) for the action.Action.Builder budgetName(String budgetName)
budgetName - The new value for the BudgetName property for this object.Action.Builder notificationType(String notificationType)
notificationType - The new value for the NotificationType property for this object.NotificationType,
NotificationTypeAction.Builder notificationType(NotificationType notificationType)
notificationType - The new value for the NotificationType property for this object.NotificationType,
NotificationTypeAction.Builder actionType(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,
ActionTypeAction.Builder actionType(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,
ActionTypeAction.Builder actionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
actionThreshold - The trigger threshold of the action.default Action.Builder actionThreshold(Consumer<ActionThreshold.Builder> actionThreshold)
The trigger threshold of the action.
This is a convenience method that creates an instance of theActionThreshold.Builder avoiding the
need to create one manually via ActionThreshold.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to actionThreshold(ActionThreshold).
actionThreshold - a consumer that will call methods on ActionThreshold.BuilderactionThreshold(ActionThreshold)Action.Builder definition(Definition definition)
Where you specify all of the type-specific parameters.
definition - Where you specify all of the type-specific parameters.default Action.Builder definition(Consumer<Definition.Builder> definition)
Where you specify all of the type-specific parameters.
This is a convenience method that creates an instance of theDefinition.Builder avoiding the need to
create one manually via Definition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to definition(Definition).
definition - a consumer that will call methods on Definition.Builderdefinition(Definition)Action.Builder executionRoleArn(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.Action.Builder approvalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
approvalModel - This specifies if the action needs manual or automatic approval.ApprovalModel,
ApprovalModelAction.Builder approvalModel(ApprovalModel approvalModel)
This specifies if the action needs manual or automatic approval.
approvalModel - This specifies if the action needs manual or automatic approval.ApprovalModel,
ApprovalModelAction.Builder status(String status)
The status of the action.
status - The status of the action.ActionStatus,
ActionStatusAction.Builder status(ActionStatus status)
The status of the action.
status - The status of the action.ActionStatus,
ActionStatusAction.Builder subscribers(Collection<Subscriber> subscribers)
subscribers - The new value for the Subscribers property for this object.Action.Builder subscribers(Subscriber... subscribers)
subscribers - The new value for the Subscribers property for this object.Action.Builder subscribers(Consumer<Subscriber.Builder>... subscribers)
Subscriber.Builder avoiding the need to create one
manually via Subscriber.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #subscribers(List.
subscribers - a consumer that will call methods on
Subscriber.Builder#subscribers(java.util.Collection) Copyright © 2023. All rights reserved.