@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogTargetConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The target configuration.
| Constructor and Description |
|---|
LogTargetConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
LogTargetConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getLogLevel()
The logging level.
|
LogTarget |
getLogTarget()
A log target
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLogLevel(String logLevel)
The logging level.
|
void |
setLogTarget(LogTarget logTarget)
A log target
|
String |
toString()
Returns a string representation of this object.
|
LogTargetConfiguration |
withLogLevel(LogLevel logLevel)
The logging level.
|
LogTargetConfiguration |
withLogLevel(String logLevel)
The logging level.
|
LogTargetConfiguration |
withLogTarget(LogTarget logTarget)
A log target
|
public void setLogTarget(LogTarget logTarget)
A log target
logTarget - A log targetpublic LogTarget getLogTarget()
A log target
public LogTargetConfiguration withLogTarget(LogTarget logTarget)
A log target
logTarget - A log targetpublic void setLogLevel(String logLevel)
The logging level.
logLevel - The logging level.LogLevelpublic String getLogLevel()
The logging level.
LogLevelpublic LogTargetConfiguration withLogLevel(String logLevel)
The logging level.
logLevel - The logging level.LogLevelpublic LogTargetConfiguration withLogLevel(LogLevel logLevel)
The logging level.
logLevel - The logging level.LogLevelpublic String toString()
toString in class ObjectObject.toString()public LogTargetConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.