public class EnableIoTLoggingParams
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.String |
getLogLevel()
Specifies the type of information to be logged.
|
java.lang.String |
getRoleArnForLogging()
The Amazon Resource Name (ARN) of the IAM role used for logging.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
Specifies the type of information to be logged.
|
void |
setLogLevel(java.lang.String logLevel)
Specifies the type of information to be logged.
|
void |
setRoleArnForLogging(java.lang.String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableIoTLoggingParams |
withLogLevel(LogLevel logLevel)
Specifies the type of information to be logged.
|
EnableIoTLoggingParams |
withLogLevel(java.lang.String logLevel)
Specifies the type of information to be logged.
|
EnableIoTLoggingParams |
withRoleArnForLogging(java.lang.String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
|
public java.lang.String getRoleArnForLogging()
The Amazon Resource Name (ARN) of the IAM role used for logging.
Constraints:
Length: 20 - 2048
The Amazon Resource Name (ARN) of the IAM role used for logging.
public void setRoleArnForLogging(java.lang.String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
Constraints:
Length: 20 - 2048
roleArnForLogging
- The Amazon Resource Name (ARN) of the IAM role used for logging.
public EnableIoTLoggingParams withRoleArnForLogging(java.lang.String roleArnForLogging)
The Amazon Resource Name (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 Amazon Resource Name (ARN) of the IAM role used for logging.
public java.lang.String getLogLevel()
Specifies the type of information to be logged.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
Specifies the type of information to be logged.
LogLevel
public void setLogLevel(java.lang.String logLevel)
Specifies the type of information to be logged.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- Specifies the type of information to be logged.
LogLevel
public EnableIoTLoggingParams withLogLevel(java.lang.String logLevel)
Specifies the type 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 type of information to be logged.
LogLevel
public void setLogLevel(LogLevel logLevel)
Specifies the type of information to be logged.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- Specifies the type of information to be logged.
LogLevel
public EnableIoTLoggingParams withLogLevel(LogLevel logLevel)
Specifies the type 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 type of information to be logged.
LogLevel
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.