public class LogTargetConfiguration
extends java.lang.Object
implements java.io.Serializable
The target configuration.
Constructor and Description |
---|
LogTargetConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogLevel()
The logging level.
|
LogTarget |
getLogTarget()
A log target
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The logging level.
|
void |
setLogLevel(java.lang.String logLevel)
The logging level.
|
void |
setLogTarget(LogTarget logTarget)
A log target
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogTargetConfiguration |
withLogLevel(LogLevel logLevel)
The logging level.
|
LogTargetConfiguration |
withLogLevel(java.lang.String logLevel)
The logging level.
|
LogTargetConfiguration |
withLogTarget(LogTarget logTarget)
A log target
|
public LogTarget getLogTarget()
A log target
A log target
public void setLogTarget(LogTarget logTarget)
A log target
logTarget
- A log target
public LogTargetConfiguration withLogTarget(LogTarget logTarget)
A log target
Returns a reference to this object so that method calls can be chained together.
logTarget
- A log target
public java.lang.String getLogLevel()
The logging level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The logging level.
LogLevel
public void setLogLevel(java.lang.String logLevel)
The logging level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The logging level.
LogLevel
public LogTargetConfiguration 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.
LogLevel
public void setLogLevel(LogLevel logLevel)
The logging level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The logging level.
LogLevel
public LogTargetConfiguration 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.
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.