Class CfnResourceSpecificLoggingProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnResourceSpecificLoggingProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSpecificLoggingProps>
- Enclosing interface:
- CfnResourceSpecificLoggingProps
@Stability(Stable)
public static final class CfnResourceSpecificLoggingProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSpecificLoggingProps>
A builder for
CfnResourceSpecificLoggingProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnResourceSpecificLoggingProps.getLogLevel()
targetName
(String targetName) Sets the value ofCfnResourceSpecificLoggingProps.getTargetName()
targetType
(String targetType) Sets the value ofCfnResourceSpecificLoggingProps.getTargetType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logLevel
Sets the value ofCfnResourceSpecificLoggingProps.getLogLevel()
- Parameters:
logLevel
- The default log level.Valid Values:DEBUG | INFO | ERROR | WARN | DISABLED
. This parameter is required.- Returns:
this
-
targetName
Sets the value ofCfnResourceSpecificLoggingProps.getTargetName()
- Parameters:
targetName
- The target name. This parameter is required.- Returns:
this
-
targetType
Sets the value ofCfnResourceSpecificLoggingProps.getTargetType()
- Parameters:
targetType
- The target type. This parameter is required. Valid Values:DEFAULT | THING_GROUP
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceSpecificLoggingProps>
- Returns:
- a new instance of
CfnResourceSpecificLoggingProps
- Throws:
NullPointerException
- if any required attribute was not provided
-