Interface LustreLogConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LustreLogConfiguration.Builder,LustreLogConfiguration>,SdkBuilder<LustreLogConfiguration.Builder,LustreLogConfiguration>,SdkPojo
- Enclosing class:
- LustreLogConfiguration
public static interface LustreLogConfiguration.Builder extends SdkPojo, CopyableBuilder<LustreLogConfiguration.Builder,LustreLogConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LustreLogConfiguration.Builderdestination(String destination)The Amazon Resource Name (ARN) that specifies the destination of the logs.LustreLogConfiguration.Builderlevel(String level)The data repository events that are logged by Amazon FSx.LustreLogConfiguration.Builderlevel(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 Detail
-
level
LustreLogConfiguration.Builder level(String 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:
LustreAccessAuditLogLevel,LustreAccessAuditLogLevel
-
-
level
LustreLogConfiguration.Builder level(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.- 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:
LustreAccessAuditLogLevel,LustreAccessAuditLogLevel
-
-
destination
LustreLogConfiguration.Builder destination(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.
- 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.
-
-