public class GetV2LoggingOptionsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetV2LoggingOptionsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultLogLevel()
The default log level.
|
java.lang.Boolean |
getDisableAllLogs()
Disables all logs.
|
java.lang.String |
getRoleArn()
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
|
int |
hashCode() |
java.lang.Boolean |
isDisableAllLogs()
Disables all logs.
|
void |
setDefaultLogLevel(LogLevel defaultLogLevel)
The default log level.
|
void |
setDefaultLogLevel(java.lang.String defaultLogLevel)
The default log level.
|
void |
setDisableAllLogs(java.lang.Boolean disableAllLogs)
Disables all logs.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetV2LoggingOptionsResult |
withDefaultLogLevel(LogLevel defaultLogLevel)
The default log level.
|
GetV2LoggingOptionsResult |
withDefaultLogLevel(java.lang.String defaultLogLevel)
The default log level.
|
GetV2LoggingOptionsResult |
withDisableAllLogs(java.lang.Boolean disableAllLogs)
Disables all logs.
|
GetV2LoggingOptionsResult |
withRoleArn(java.lang.String roleArn)
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
|
public java.lang.String getRoleArn()
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
public void setRoleArn(java.lang.String roleArn)
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
roleArn
- The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
public GetV2LoggingOptionsResult withRoleArn(java.lang.String roleArn)
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
Returns a reference to this object so that method calls can be chained together.
roleArn
- The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
public java.lang.String getDefaultLogLevel()
The default log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The default log level.
LogLevel
public void setDefaultLogLevel(java.lang.String defaultLogLevel)
The default log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
defaultLogLevel
- The default log level.
LogLevel
public GetV2LoggingOptionsResult withDefaultLogLevel(java.lang.String defaultLogLevel)
The default log level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
defaultLogLevel
- The default log level.
LogLevel
public void setDefaultLogLevel(LogLevel defaultLogLevel)
The default log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
defaultLogLevel
- The default log level.
LogLevel
public GetV2LoggingOptionsResult withDefaultLogLevel(LogLevel defaultLogLevel)
The default log level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
defaultLogLevel
- The default log level.
LogLevel
public java.lang.Boolean isDisableAllLogs()
Disables all logs.
Disables all logs.
public java.lang.Boolean getDisableAllLogs()
Disables all logs.
Disables all logs.
public void setDisableAllLogs(java.lang.Boolean disableAllLogs)
Disables all logs.
disableAllLogs
- Disables all logs.
public GetV2LoggingOptionsResult withDisableAllLogs(java.lang.Boolean disableAllLogs)
Disables all logs.
Returns a reference to this object so that method calls can be chained together.
disableAllLogs
- Disables all logs.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.