Class CfnResourceSpecificLogging.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnResourceSpecificLogging.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSpecificLogging>
- Enclosing class:
CfnResourceSpecificLogging
@Stability(Stable)
public static final class CfnResourceSpecificLogging.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSpecificLogging>
A fluent builder for
CfnResourceSpecificLogging
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The default log level.Valid Values:DEBUG | INFO | ERROR | WARN | DISABLED
.targetName
(String targetName) The target name.targetType
(String targetType) The target type.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceSpecificLogging.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnResourceSpecificLogging.Builder
.
-
logLevel
The default log level.Valid Values:DEBUG | INFO | ERROR | WARN | DISABLED
.- Parameters:
logLevel
- The default log level.Valid Values:DEBUG | INFO | ERROR | WARN | DISABLED
. This parameter is required.- Returns:
this
- See Also:
-
targetName
The target name.- Parameters:
targetName
- The target name. This parameter is required.- Returns:
this
- See Also:
-
targetType
The target type.Valid Values:
DEFAULT | THING_GROUP
- Parameters:
targetType
- The target type. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceSpecificLogging>
- Returns:
- a newly built instance of
CfnResourceSpecificLogging
.
-