public class LoggingOptionsPayload
extends java.lang.Object
implements java.io.Serializable
Describes the logging options payload.
| Constructor and Description |
|---|
LoggingOptionsPayload() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogLevel()
The log level.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that grants access.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The log level.
|
void |
setLogLevel(java.lang.String logLevel)
The log level.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoggingOptionsPayload |
withLogLevel(LogLevel logLevel)
The log level.
|
LoggingOptionsPayload |
withLogLevel(java.lang.String logLevel)
The log level.
|
LoggingOptionsPayload |
withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
|
public java.lang.String getRoleArn()
The ARN of the IAM role that grants access.
The ARN of the IAM role that grants access.
public void setRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
roleArn - The ARN of the IAM role that grants access.
public LoggingOptionsPayload withRoleArn(java.lang.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 java.lang.String getLogLevel()
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The log level.
LogLevelpublic void setLogLevel(java.lang.String logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The log level.
LogLevelpublic LoggingOptionsPayload withLogLevel(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.