Interface LoggingOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LoggingOptions.Builder,LoggingOptions>,SdkBuilder<LoggingOptions.Builder,LoggingOptions>,SdkPojo
- Enclosing class:
- LoggingOptions
public static interface LoggingOptions.Builder extends SdkPojo, CopyableBuilder<LoggingOptions.Builder,LoggingOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggingOptions.BuilderdetectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)Information that identifies those detector models and their detectors (instances) for which the logging level is given.LoggingOptions.BuilderdetectorDebugOptions(Consumer<DetectorDebugOption.Builder>... detectorDebugOptions)Information that identifies those detector models and their detectors (instances) for which the logging level is given.LoggingOptions.BuilderdetectorDebugOptions(DetectorDebugOption... detectorDebugOptions)Information that identifies those detector models and their detectors (instances) for which the logging level is given.LoggingOptions.Builderenabled(Boolean enabled)If TRUE, logging is enabled for AWS IoT Events.LoggingOptions.Builderlevel(String level)The logging level.LoggingOptions.Builderlevel(LoggingLevel level)The logging level.LoggingOptions.BuilderroleArn(String roleArn)The ARN of the role that grants permission to AWS IoT Events to perform logging.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
roleArn
LoggingOptions.Builder roleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform logging.
- Parameters:
roleArn- The ARN of the role that grants permission to AWS IoT Events to perform logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level
LoggingOptions.Builder level(String level)
The logging level.
- Parameters:
level- The logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoggingLevel,LoggingLevel
-
level
LoggingOptions.Builder level(LoggingLevel level)
The logging level.
- Parameters:
level- The logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoggingLevel,LoggingLevel
-
enabled
LoggingOptions.Builder enabled(Boolean enabled)
If TRUE, logging is enabled for AWS IoT Events.
- Parameters:
enabled- If TRUE, logging is enabled for AWS IoT Events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorDebugOptions
LoggingOptions.Builder detectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
- Parameters:
detectorDebugOptions- Information that identifies those detector models and their detectors (instances) for which the logging level is given.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorDebugOptions
LoggingOptions.Builder detectorDebugOptions(DetectorDebugOption... detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
- Parameters:
detectorDebugOptions- Information that identifies those detector models and their detectors (instances) for which the logging level is given.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorDebugOptions
LoggingOptions.Builder detectorDebugOptions(Consumer<DetectorDebugOption.Builder>... detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
This is a convenience method that creates an instance of theDetectorDebugOption.Builderavoiding the need to create one manually viaDetectorDebugOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#detectorDebugOptions(List.) - Parameters:
detectorDebugOptions- a consumer that will call methods onDetectorDebugOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#detectorDebugOptions(java.util.Collection)
-
-