Interface LustreLogConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LustreLogConfiguration.Builder,
,LustreLogConfiguration> SdkBuilder<LustreLogConfiguration.Builder,
,LustreLogConfiguration> SdkPojo
- Enclosing class:
LustreLogConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The Amazon Resource Name (ARN) that specifies the destination of the logs.The data repository events that are logged by Amazon FSx.level
(LustreAccessAuditLogLevel level) The data repository events that are logged by Amazon FSx.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.- Parameters:
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.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.- Parameters:
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.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-