@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.LoggerComponent
public String getComponent()
LoggerComponent
public Logger withComponent(String component)
component
- The component that will be subject to logging.LoggerComponent
public void setComponent(LoggerComponent component)
component
- The component that will be subject to logging.LoggerComponent
public Logger withComponent(LoggerComponent component)
component
- The component that will be subject to logging.LoggerComponent
public 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.LoggerLevel
public String getLevel()
LoggerLevel
public Logger withLevel(String level)
level
- The level of the logs.LoggerLevel
public void setLevel(LoggerLevel level)
level
- The level of the logs.LoggerLevel
public Logger withLevel(LoggerLevel level)
level
- The level of the logs.LoggerLevel
public 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.LoggerType
public String getType()
LoggerType
public Logger withType(String type)
type
- The type of log output which will be used.LoggerType
public void setType(LoggerType type)
type
- The type of log output which will be used.LoggerType
public Logger withType(LoggerType type)
type
- The type of log output which will be used.LoggerType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.