@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.LogLevel
public String getLogLevel()
The logging level.
LogLevel
public LogTargetConfiguration withLogLevel(String logLevel)
The logging level.
logLevel
- The logging level.LogLevel
public LogTargetConfiguration withLogLevel(LogLevel logLevel)
The logging level.
logLevel
- The logging level.LogLevel
public String toString()
toString
in class Object
Object.toString()
public LogTargetConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.