Interface CloudWatchLogConfiguration.Builder

  • Method Details

    • enabled

      Specifies if CloudWatch logging is enabled.

      Parameters:
      enabled - Specifies if CloudWatch logging is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupName

      CloudWatchLogConfiguration.Builder logGroupName(String logGroupName)

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

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

      CloudWatchLogConfiguration.Builder logStreamNamePrefix(String logStreamNamePrefix)

      The prefix of the log stream name.

      Parameters:
      logStreamNamePrefix - The prefix of the log stream name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKeyArn

      CloudWatchLogConfiguration.Builder encryptionKeyArn(String encryptionKeyArn)

      The ARN of the encryption key used to encrypt the logs.

      Parameters:
      encryptionKeyArn - The ARN of the encryption key used to encrypt the logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logTypes

      A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.

      Parameters:
      logTypes - A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.