public class GetLoggingOptionsResult
extends java.lang.Object
implements java.io.Serializable
The output from the GetLoggingOptions operation.
| Constructor and Description | 
|---|
| GetLoggingOptionsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getLogLevel()
 The logging level. | 
| java.lang.String | getRoleArn()
 The ARN of the IAM role that grants access. | 
| int | hashCode() | 
| void | setLogLevel(LogLevel logLevel)
 The logging level. | 
| void | setLogLevel(java.lang.String logLevel)
 The logging 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. | 
| GetLoggingOptionsResult | withLogLevel(LogLevel logLevel)
 The logging level. | 
| GetLoggingOptionsResult | withLogLevel(java.lang.String logLevel)
 The logging level. | 
| GetLoggingOptionsResult | 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 GetLoggingOptionsResult 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 logging level.
 Constraints:
 Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The logging level.
LogLevelpublic void setLogLevel(java.lang.String logLevel)
The logging level.
 Constraints:
 Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.
LogLevelpublic GetLoggingOptionsResult withLogLevel(java.lang.String logLevel)
The logging 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 logging level.
LogLevelpublic void setLogLevel(LogLevel logLevel)
The logging level.
 Constraints:
 Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.
LogLevelpublic GetLoggingOptionsResult withLogLevel(LogLevel logLevel)
The logging 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 logging 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.