Interface SessionS3LoggingConfiguration.Builder

  • Method Details

    • enabled

      Whether Amazon S3 logging is enabled for the session.

      Parameters:
      enabled - Whether Amazon S3 logging is enabled for the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logUri

      The Amazon S3 destination URI where session logs are published.

      Parameters:
      logUri - The Amazon S3 destination URI where session logs are published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKeyArn

      SessionS3LoggingConfiguration.Builder encryptionKeyArn(String encryptionKeyArn)

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

      Parameters:
      encryptionKeyArn - The Amazon Resource Name (ARN) of the KMS key used to encrypt logs published to Amazon S3.
      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.