@Generated(value="software.amazon.awssdk:codegen") public final class Logger extends Object implements StructuredPojo, ToCopyableBuilder<Logger.Builder,Logger>
Modifier and Type | Class and Description |
---|---|
static interface |
Logger.Builder |
Modifier and Type | Method and Description |
---|---|
static Logger.Builder |
builder() |
LoggerComponent |
component()
The component that will be subject to logs
|
String |
componentAsString()
The component that will be subject to logs
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
Element Id for this entry in the list.
|
LoggerLevel |
level()
The level of the logs
|
String |
levelAsString()
The level of the logs
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Logger.Builder> |
serializableBuilderClass() |
Integer |
space()
Amount of hardware space, in KB, to use if file system is used for logging purposes.
|
Logger.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
LoggerType |
type()
The type which will be use for log output
|
String |
typeAsString()
The type which will be use for log output
|
copy
public LoggerComponent component()
If the service returns an enum value that is not available in the current SDK version, component
will
return LoggerComponent.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
componentAsString()
.
LoggerComponent
public String componentAsString()
If the service returns an enum value that is not available in the current SDK version, component
will
return LoggerComponent.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
componentAsString()
.
LoggerComponent
public String id()
public LoggerLevel level()
If the service returns an enum value that is not available in the current SDK version, level
will return
LoggerLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
levelAsString()
.
LoggerLevel
public String levelAsString()
If the service returns an enum value that is not available in the current SDK version, level
will return
LoggerLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
levelAsString()
.
LoggerLevel
public Integer space()
public LoggerType type()
If the service returns an enum value that is not available in the current SDK version, type
will return
LoggerType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
LoggerType
public String typeAsString()
If the service returns an enum value that is not available in the current SDK version, type
will return
LoggerType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
LoggerType
public Logger.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Logger.Builder,Logger>
public static Logger.Builder builder()
public static Class<? extends Logger.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.