Class Monitoring.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.Monitoring.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Monitoring>
Enclosing interface:
Monitoring

@Stability(Stable) public static final class Monitoring.Builder extends Object implements software.amazon.jsii.Builder<Monitoring>
A builder for Monitoring
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • logBucket

      @Stability(Stable) public Monitoring.Builder logBucket(IBucket logBucket)
      Sets the value of Monitoring.getLogBucket()
      Parameters:
      logBucket - Amazon S3 Bucket for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.
      Returns:
      this
    • logging

      @Stability(Stable) public Monitoring.Builder logging(Boolean logging)
      Sets the value of Monitoring.getLogging()
      Parameters:
      logging - Enable logging for this job. If set to true, will automatically create a Cloudwatch Log Group and S3 bucket. This will be set to true implicitly if values are provided for logGroup or logBucket.
      Returns:
      this
    • logGroup

      @Stability(Stable) public Monitoring.Builder logGroup(ILogGroup logGroup)
      Sets the value of Monitoring.getLogGroup()
      Parameters:
      logGroup - A log group for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs.
      Returns:
      this
    • logStreamNamePrefix

      @Stability(Stable) public Monitoring.Builder logStreamNamePrefix(String logStreamNamePrefix)
      Parameters:
      logStreamNamePrefix - A log stream name prefix for Cloudwatch monitoring.
      Returns:
      this
    • persistentAppUi

      @Stability(Stable) public Monitoring.Builder persistentAppUi(Boolean persistentAppUi)
      Sets the value of
      invalid @link
      Monitoring#getPersistentAppUi
      Parameters:
      persistentAppUi - Monitoring configurations for the persistent application UI.
      Returns:
      this
    • build

      @Stability(Stable) public Monitoring build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<Monitoring>
      Returns:
      a new instance of Monitoring
      Throws:
      NullPointerException - if any required attribute was not provided