Interface Action.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Action.Builder,Action>,SdkBuilder<Action.Builder,Action>,SdkPojo
- Enclosing class:
- Action
public static interface Action.Builder extends SdkPojo, CopyableBuilder<Action.Builder,Action>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Action.BuilderactionId(String actionId)A system-generated universally unique identifier (UUID) for the action.default Action.BuilderactionThreshold(Consumer<ActionThreshold.Builder> actionThreshold)The trigger threshold of the action.Action.BuilderactionThreshold(ActionThreshold actionThreshold)The trigger threshold of the action.Action.BuilderactionType(String actionType)The type of action.Action.BuilderactionType(ActionType actionType)The type of action.Action.BuilderapprovalModel(String approvalModel)This specifies if the action needs manual or automatic approval.Action.BuilderapprovalModel(ApprovalModel approvalModel)This specifies if the action needs manual or automatic approval.Action.BuilderbudgetName(String budgetName)Sets the value of the BudgetName property for this object.default Action.Builderdefinition(Consumer<Definition.Builder> definition)Where you specify all of the type-specific parameters.Action.Builderdefinition(Definition definition)Where you specify all of the type-specific parameters.Action.BuilderexecutionRoleArn(String executionRoleArn)The role passed for action execution and reversion.Action.BuildernotificationType(String notificationType)Sets the value of the NotificationType property for this object.Action.BuildernotificationType(NotificationType notificationType)Sets the value of the NotificationType property for this object.Action.Builderstatus(String status)The status of the action.Action.Builderstatus(ActionStatus status)The status of the action.Action.Buildersubscribers(Collection<Subscriber> subscribers)Sets the value of the Subscribers property for this object.Action.Buildersubscribers(Consumer<Subscriber.Builder>... subscribers)Sets the value of the Subscribers property for this object.Action.Buildersubscribers(Subscriber... subscribers)Sets the value of the Subscribers property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionId
Action.Builder actionId(String actionId)
A system-generated universally unique identifier (UUID) for the action.
- Parameters:
actionId- A system-generated universally unique identifier (UUID) for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
Action.Builder budgetName(String budgetName)
Sets the value of the BudgetName property for this object.- Parameters:
budgetName- The new value for the BudgetName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationType
Action.Builder notificationType(String notificationType)
Sets the value of the NotificationType property for this object.- Parameters:
notificationType- The new value for the NotificationType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType,NotificationType
-
notificationType
Action.Builder notificationType(NotificationType notificationType)
Sets the value of the NotificationType property for this object.- Parameters:
notificationType- The new value for the NotificationType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType,NotificationType
-
actionType
Action.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType,ActionType
-
actionType
Action.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType,ActionType
-
actionThreshold
Action.Builder actionThreshold(ActionThreshold actionThreshold)
The trigger threshold of the action.
- Parameters:
actionThreshold- The trigger threshold of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionThreshold
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.Builderavoiding the need to create one manually viaActionThreshold.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionThreshold(ActionThreshold).- Parameters:
actionThreshold- a consumer that will call methods onActionThreshold.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actionThreshold(ActionThreshold)
-
definition
Action.Builder definition(Definition definition)
Where you specify all of the type-specific parameters.
- Parameters:
definition- Where you specify all of the type-specific parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
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.Builderavoiding the need to create one manually viaDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(Definition).- Parameters:
definition- a consumer that will call methods onDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(Definition)
-
executionRoleArn
Action.Builder executionRoleArn(String executionRoleArn)
The role passed for action execution and reversion. Roles and actions must be in the same account.
- Parameters:
executionRoleArn- The role passed for action execution and reversion. Roles and actions must be in the same account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalModel
Action.Builder approvalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
- Parameters:
approvalModel- This specifies if the action needs manual or automatic approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApprovalModel,ApprovalModel
-
approvalModel
Action.Builder approvalModel(ApprovalModel approvalModel)
This specifies if the action needs manual or automatic approval.
- Parameters:
approvalModel- This specifies if the action needs manual or automatic approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApprovalModel,ApprovalModel
-
status
Action.Builder status(String status)
The status of the action.
- Parameters:
status- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionStatus,ActionStatus
-
status
Action.Builder status(ActionStatus status)
The status of the action.
- Parameters:
status- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionStatus,ActionStatus
-
subscribers
Action.Builder subscribers(Collection<Subscriber> subscribers)
Sets the value of the Subscribers property for this object.- Parameters:
subscribers- The new value for the Subscribers property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
Action.Builder subscribers(Subscriber... subscribers)
Sets the value of the Subscribers property for this object.- Parameters:
subscribers- The new value for the Subscribers property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
Action.Builder subscribers(Consumer<Subscriber.Builder>... subscribers)
Sets the value of the Subscribers property for this object. This is a convenience method that creates an instance of theSubscriber.Builderavoiding the need to create one manually viaSubscriber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscribers(List.) - Parameters:
subscribers- a consumer that will call methods onSubscriber.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subscribers(java.util.Collection)
-
-