Class ActionProps.Builder

java.lang.Object
software.amazon.awscdk.services.appconfig.alpha.ActionProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<ActionProps>
Enclosing interface:
ActionProps

@Stability(Experimental) public static final class ActionProps.Builder extends Object implements software.amazon.jsii.Builder<ActionProps>
A builder for ActionProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • actionPoints

      @Stability(Experimental) public ActionProps.Builder actionPoints(List<? extends ActionPoint> actionPoints)
      Parameters:
      actionPoints - The action points that will trigger the extension action. This parameter is required.
      Returns:
      this
    • eventDestination

      @Stability(Experimental) public ActionProps.Builder eventDestination(IEventDestination eventDestination)
      Parameters:
      eventDestination - The event destination for the action. This parameter is required.
      Returns:
      this
    • description

      @Stability(Experimental) public ActionProps.Builder description(String description)
      Parameters:
      description - The description for the action.
      Returns:
      this
    • executionRole

      @Stability(Experimental) public ActionProps.Builder executionRole(IRole executionRole)
      Parameters:
      executionRole - The execution role for the action.
      Returns:
      this
    • invokeWithoutExecutionRole

      @Stability(Experimental) public ActionProps.Builder invokeWithoutExecutionRole(Boolean invokeWithoutExecutionRole)
      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

      @Stability(Experimental) public ActionProps.Builder name(String name)
      Sets the value of ActionProps.getName()
      Parameters:
      name - The name for the action.
      Returns:
      this
    • build

      @Stability(Experimental) public ActionProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<ActionProps>
      Returns:
      a new instance of ActionProps
      Throws:
      NullPointerException - if any required attribute was not provided