Class CfnLogging.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnLogging.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogging>
- Enclosing class:
CfnLogging
@Stability(Stable)
public static final class CfnLogging.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogging>
A fluent builder for
CfnLogging.-
Method Summary
Modifier and TypeMethodDescriptionThe account ID.build()static CfnLogging.BuilderdefaultLogLevel(String defaultLogLevel) The default log level.The role ARN used for the log.
-
Method Details
-
create
@Stability(Stable) public static CfnLogging.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
CfnLogging.Builder.
-
accountId
The account ID.- Parameters:
accountId- The account ID. This parameter is required.- Returns:
this- See Also:
-
defaultLogLevel
The default log level.Valid Values:
DEBUG | INFO | ERROR | WARN | DISABLED- Parameters:
defaultLogLevel- The default log level. This parameter is required.- Returns:
this- See Also:
-
roleArn
The role ARN used for the log.- Parameters:
roleArn- The role ARN used for the log. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLogging>- Returns:
- a newly built instance of
CfnLogging.
-