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