Class ActionBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.alpha.ActionBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ActionBindOptions>
- Enclosing interface:
ActionBindOptions
@Stability(Experimental)
public static final class ActionBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ActionBindOptions>
A builder for
ActionBindOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofActionBindOptions.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the value ofActionBindOptions.getRole()
- Parameters:
role
- The IAM role assumed by IoT Events to perform the action. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ActionBindOptions>
- Returns:
- a new instance of
ActionBindOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-