Class DynamoDBv2PutItemActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.DynamoDBv2PutItemActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DynamoDBv2PutItemActionProps>
- Enclosing interface:
DynamoDBv2PutItemActionProps
@Stability(Experimental)
public static final class DynamoDBv2PutItemActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<DynamoDBv2PutItemActionProps>
A builder for
DynamoDBv2PutItemActionProps
-
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<DynamoDBv2PutItemActionProps>
- Returns:
- a new instance of
DynamoDBv2PutItemActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-