@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Logger extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Logger() |
| Modifier and Type | Method and Description |
|---|---|
Logger |
clone() |
boolean |
equals(Object obj) |
String |
getComponent()
The component that will be subject to logging.
|
String |
getId()
A descriptive or arbitrary ID for the logger.
|
String |
getLevel()
The level of the logs.
|
Integer |
getSpace()
The amount of file space, in KB, to use if the local file system is used for logging purposes.
|
String |
getType()
The type of log output which will be used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComponent(LoggerComponent component)
The component that will be subject to logging.
|
void |
setComponent(String component)
The component that will be subject to logging.
|
void |
setId(String id)
A descriptive or arbitrary ID for the logger.
|
void |
setLevel(LoggerLevel level)
The level of the logs.
|
void |
setLevel(String level)
The level of the logs.
|
void |
setSpace(Integer space)
The amount of file space, in KB, to use if the local file system is used for logging purposes.
|
void |
setType(LoggerType type)
The type of log output which will be used.
|
void |
setType(String type)
The type of log output which will be used.
|
String |
toString()
Returns a string representation of this object.
|
Logger |
withComponent(LoggerComponent component)
The component that will be subject to logging.
|
Logger |
withComponent(String component)
The component that will be subject to logging.
|
Logger |
withId(String id)
A descriptive or arbitrary ID for the logger.
|
Logger |
withLevel(LoggerLevel level)
The level of the logs.
|
Logger |
withLevel(String level)
The level of the logs.
|
Logger |
withSpace(Integer space)
The amount of file space, in KB, to use if the local file system is used for logging purposes.
|
Logger |
withType(LoggerType type)
The type of log output which will be used.
|
Logger |
withType(String type)
The type of log output which will be used.
|
public void setComponent(String component)
component - The component that will be subject to logging.LoggerComponentpublic String getComponent()
LoggerComponentpublic Logger withComponent(String component)
component - The component that will be subject to logging.LoggerComponentpublic void setComponent(LoggerComponent component)
component - The component that will be subject to logging.LoggerComponentpublic Logger withComponent(LoggerComponent component)
component - The component that will be subject to logging.LoggerComponentpublic void setId(String id)
id - A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition
version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.public String getId()
public Logger withId(String id)
id - A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition
version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.public void setLevel(String level)
level - The level of the logs.LoggerLevelpublic String getLevel()
LoggerLevelpublic Logger withLevel(String level)
level - The level of the logs.LoggerLevelpublic void setLevel(LoggerLevel level)
level - The level of the logs.LoggerLevelpublic Logger withLevel(LoggerLevel level)
level - The level of the logs.LoggerLevelpublic void setSpace(Integer space)
space - The amount of file space, in KB, to use if the local file system is used for logging purposes.public Integer getSpace()
public Logger withSpace(Integer space)
space - The amount of file space, in KB, to use if the local file system is used for logging purposes.public void setType(String type)
type - The type of log output which will be used.LoggerTypepublic String getType()
LoggerTypepublic Logger withType(String type)
type - The type of log output which will be used.LoggerTypepublic void setType(LoggerType type)
type - The type of log output which will be used.LoggerTypepublic Logger withType(LoggerType type)
type - The type of log output which will be used.LoggerTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.