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 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

      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.