Class CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty>
- Enclosing interface:
CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty
@Stability(Stable)
public static final class CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.roleArnForLogging(String roleArnForLogging)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logLevel
@Stability(Stable) public CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty.Builder logLevel(String logLevel) - Parameters:
logLevel- Specifies the type of information to be logged.- Returns:
this
-
roleArnForLogging
@Stability(Stable) public CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty.Builder roleArnForLogging(String roleArnForLogging) Sets the value ofCfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty.getRoleArnForLogging()- Parameters:
roleArnForLogging- The Amazon Resource Name (ARN) of the IAM role used for logging.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty>- Returns:
- a new instance of
CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty - Throws:
NullPointerException- if any required attribute was not provided
-