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.Builderenabled(Boolean enabled)If true, logging is enabled for IoT Analytics.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 IoT Analytics 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 IoT Analytics to perform logging.
- Parameters:
roleArn- The ARN of the role that grants permission to IoT Analytics 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. Currently, only ERROR is supported.
- Parameters:
level- The logging level. Currently, only ERROR is supported.- 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. Currently, only ERROR is supported.
- Parameters:
level- The logging level. Currently, only ERROR is supported.- 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 IoT Analytics.
- Parameters:
enabled- If true, logging is enabled for IoT Analytics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-