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