Class CommonActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.CommonActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CommonActionProps>
- Enclosing interface:
CommonActionProps
@Stability(Experimental)
public static final class CommonActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CommonActionProps>
A builder for
CommonActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCommonActionProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the value ofCommonActionProps.getRole()
- Parameters:
role
- The IAM role that allows access to AWS service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CommonActionProps>
- Returns:
- a new instance of
CommonActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-