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