public class EnableIoTLoggingParams extends Object implements Serializable
Parameters used when defining a mitigation action that enable AWS IoT logging.
| Constructor and Description |
|---|
EnableIoTLoggingParams() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLogLevel()
Specifies the types of information to be logged.
|
String |
getRoleArnForLogging()
The ARN of the IAM role used for logging.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
Specifies the types of information to be logged.
|
void |
setLogLevel(String logLevel)
Specifies the types of information to be logged.
|
void |
setRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableIoTLoggingParams |
withLogLevel(LogLevel logLevel)
Specifies the types of information to be logged.
|
EnableIoTLoggingParams |
withLogLevel(String logLevel)
Specifies the types of information to be logged.
|
EnableIoTLoggingParams |
withRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
|
public String getRoleArnForLogging()
The ARN of the IAM role used for logging.
Constraints:
Length: 20 - 2048
The ARN of the IAM role used for logging.
public void setRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
Constraints:
Length: 20 - 2048
roleArnForLogging - The ARN of the IAM role used for logging.
public EnableIoTLoggingParams withRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArnForLogging - The ARN of the IAM role used for logging.
public String getLogLevel()
Specifies the types of information to be logged.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
Specifies the types of information to be logged.
LogLevelpublic void setLogLevel(String logLevel)
Specifies the types of information to be logged.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - Specifies the types of information to be logged.
LogLevelpublic EnableIoTLoggingParams withLogLevel(String logLevel)
Specifies the types of information to be logged.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - Specifies the types of information to be logged.
LogLevelpublic void setLogLevel(LogLevel logLevel)
Specifies the types of information to be logged.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - Specifies the types of information to be logged.
LogLevelpublic EnableIoTLoggingParams withLogLevel(LogLevel logLevel)
Specifies the types of information to be logged.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - Specifies the types of information to be logged.
LogLevelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.