Class ActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.ActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ActionProps>
- Enclosing interface:
ActionProps
@Stability(Stable)
public static final class ActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<ActionProps>
A builder for
ActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionPoints(List<? extends ActionPoint> actionPoints) Sets the value ofActionProps.getActionPoints()build()Builds the configured instance.description(String description) Sets the value ofActionProps.getDescription()eventDestination(IEventDestination eventDestination) Sets the value ofActionProps.getEventDestination()executionRole(IRole executionRole) Sets the value ofActionProps.getExecutionRole()invokeWithoutExecutionRole(Boolean invokeWithoutExecutionRole) Sets the value ofActionProps.getInvokeWithoutExecutionRole()Sets the value ofActionProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionPoints
@Stability(Stable) public ActionProps.Builder actionPoints(List<? extends ActionPoint> actionPoints) Sets the value ofActionProps.getActionPoints()- Parameters:
actionPoints- The action points that will trigger the extension action. This parameter is required.- Returns:
this
-
eventDestination
Sets the value ofActionProps.getEventDestination()- Parameters:
eventDestination- The event destination for the action. This parameter is required.- Returns:
this
-
description
Sets the value ofActionProps.getDescription()- Parameters:
description- The description for the action.- Returns:
this
-
executionRole
Sets the value ofActionProps.getExecutionRole()- Parameters:
executionRole- The execution role for the action.- Returns:
this
-
invokeWithoutExecutionRole
@Stability(Stable) public ActionProps.Builder invokeWithoutExecutionRole(Boolean invokeWithoutExecutionRole) Sets the value ofActionProps.getInvokeWithoutExecutionRole()- Parameters:
invokeWithoutExecutionRole- The flag that specifies whether or not to create the execution role. If set to true, then the role will not be auto-generated under the assumption there is already the corresponding resource-based policy attached to the event destination. If false, the execution role will be generated if not provided.- Returns:
this
-
name
Sets the value ofActionProps.getName()- Parameters:
name- The name for the action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ActionProps>- Returns:
- a new instance of
ActionProps - Throws:
NullPointerException- if any required attribute was not provided
-