public class LoggingOptionsPayload extends Object implements Serializable
Describes the logging options payload.
| Constructor and Description |
|---|
LoggingOptionsPayload() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLogLevel()
The log level.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The log level.
|
void |
setLogLevel(String logLevel)
The log level.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoggingOptionsPayload |
withLogLevel(LogLevel logLevel)
The log level.
|
LoggingOptionsPayload |
withLogLevel(String logLevel)
The log level.
|
LoggingOptionsPayload |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
public String getRoleArn()
The ARN of the IAM role that grants access.
The ARN of the IAM role that grants access.
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn - The ARN of the IAM role that grants access.
public LoggingOptionsPayload withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the IAM role that grants access.
public String getLogLevel()
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The log level.
LogLevelpublic void setLogLevel(String logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The log level.
LogLevelpublic LoggingOptionsPayload withLogLevel(String logLevel)
The log level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The log level.
LogLevelpublic void setLogLevel(LogLevel logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The log level.
LogLevelpublic LoggingOptionsPayload withLogLevel(LogLevel logLevel)
The log level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The log level.
LogLevelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.