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