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.
LogLevel
public void setLogLevel(java.lang.String logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The log level.
LogLevel
public 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.
LogLevel
public void setLogLevel(LogLevel logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The log level.
LogLevel
public 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.
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.