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 logging level.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The logging level.
|
void |
setLogLevel(String logLevel)
The logging 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 logging level.
|
LoggingOptionsPayload |
withLogLevel(String logLevel)
The logging level.
|
LoggingOptionsPayload |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The ARN of the IAM role that grants access.public LoggingOptionsPayload withRoleArn(String roleArn)
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()
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
LogLevelpublic void setLogLevel(String logLevel)
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.LogLevelpublic LoggingOptionsPayload withLogLevel(String logLevel)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.LogLevelpublic void setLogLevel(LogLevel logLevel)
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.LogLevelpublic LoggingOptionsPayload withLogLevel(LogLevel logLevel)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.LogLevelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.