Interface SessionCloudWatchLoggingConfiguration.Builder

  • Method Details

    • enabled

      Whether CloudWatch Logs is enabled for the session.

      Parameters:
      enabled - Whether CloudWatch Logs is enabled for the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroup

      The name of the log group where session logs are published.

      Parameters:
      logGroup - The name of the log group where session logs are published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logStreamNamePrefix

      SessionCloudWatchLoggingConfiguration.Builder logStreamNamePrefix(String logStreamNamePrefix)

      The prefix applied to the log stream name where session logs are published.

      Parameters:
      logStreamNamePrefix - The prefix applied to the log stream name where session logs are published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKeyArn

      SessionCloudWatchLoggingConfiguration.Builder encryptionKeyArn(String encryptionKeyArn)

      The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.

      Parameters:
      encryptionKeyArn - The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logTypes

      A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr).

      Parameters:
      logTypes - A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr).
      Returns:
      Returns a reference to this object so that method calls can be chained together.