@Generated(value="software.amazon.awssdk:codegen") public final class LustreLogConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LustreLogConfiguration.Builder,LustreLogConfiguration>
The configuration for Lustre logging used to write the enabled logging events for your Amazon FSx for Lustre file system or Amazon File Cache resource to Amazon CloudWatch Logs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LustreLogConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LustreLogConfiguration.Builder |
builder() |
String |
destination()
The Amazon Resource Name (ARN) that specifies the destination of the logs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LustreAccessAuditLogLevel |
level()
The data repository events that are logged by Amazon FSx.
|
String |
levelAsString()
The data repository events that are logged by Amazon FSx.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LustreLogConfiguration.Builder> |
serializableBuilderClass() |
LustreLogConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LustreAccessAuditLogLevel level()
The data repository events that are logged by Amazon FSx.
WARN_ONLY - only warning events are logged.
ERROR_ONLY - only error events are logged.
WARN_ERROR - both warning events and error events are logged.
DISABLED - logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR, which can't be changed.
If the service returns an enum value that is not available in the current SDK version, level will return
LustreAccessAuditLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
levelAsString().
WARN_ONLY - only warning events are logged.
ERROR_ONLY - only error events are logged.
WARN_ERROR - both warning events and error events are logged.
DISABLED - logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR, which can't be changed.
LustreAccessAuditLogLevelpublic final String levelAsString()
The data repository events that are logged by Amazon FSx.
WARN_ONLY - only warning events are logged.
ERROR_ONLY - only error events are logged.
WARN_ERROR - both warning events and error events are logged.
DISABLED - logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR, which can't be changed.
If the service returns an enum value that is not available in the current SDK version, level will return
LustreAccessAuditLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
levelAsString().
WARN_ONLY - only warning events are logged.
ERROR_ONLY - only error events are logged.
WARN_ERROR - both warning events and error events are logged.
DISABLED - logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR, which can't be changed.
LustreAccessAuditLogLevelpublic final String destination()
The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
public LustreLogConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LustreLogConfiguration.Builder,LustreLogConfiguration>public static LustreLogConfiguration.Builder builder()
public static Class<? extends LustreLogConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.