Interface CloudWatchLoggingOptionDescription.Builder

    • Method Detail

      • cloudWatchLoggingOptionId

        CloudWatchLoggingOptionDescription.Builder cloudWatchLoggingOptionId​(String cloudWatchLoggingOptionId)

        ID of the CloudWatch logging option description.

        Parameters:
        cloudWatchLoggingOptionId - ID of the CloudWatch logging option description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logStreamARN

        CloudWatchLoggingOptionDescription.Builder logStreamARN​(String logStreamARN)

        ARN of the CloudWatch log to receive application messages.

        Parameters:
        logStreamARN - ARN of the CloudWatch log to receive application messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleARN

        CloudWatchLoggingOptionDescription.Builder roleARN​(String roleARN)

        IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled.

        Parameters:
        roleARN - IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.