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