@Generated(value="software.amazon.awssdk:codegen") public final class LoggingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
The LoggingConfiguration data type is used to set CloudWatch Logs options.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoggingConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LoggingConfiguration.Builder |
builder() |
List<LogDestination> |
destinations()
An array of objects that describes where your execution history events will be logged.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDestinations()
Returns true if the Destinations property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
Boolean |
includeExecutionData()
Determines whether execution data is included in your log.
|
LogLevel |
level()
Defines which category of execution history events are logged.
|
String |
levelAsString()
Defines which category of execution history events are logged.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LoggingConfiguration.Builder> |
serializableBuilderClass() |
LoggingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic LogLevel level()
Defines which category of execution history events are logged.
If the service returns an enum value that is not available in the current SDK version, level will return
LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
levelAsString().
LogLevelpublic String levelAsString()
Defines which category of execution history events are logged.
If the service returns an enum value that is not available in the current SDK version, level will return
LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
levelAsString().
LogLevelpublic Boolean includeExecutionData()
Determines whether execution data is included in your log. When set to FALSE, data is excluded.
FALSE, data is
excluded.public boolean hasDestinations()
public List<LogDestination> destinations()
An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDestinations() to see if a value was sent in this field.
OFF.public LoggingConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>public static LoggingConfiguration.Builder builder()
public static Class<? extends LoggingConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.