java.lang.Object
java.lang.Enum<LogLevel>
software.amazon.awscdk.services.kinesisanalytics.flink.alpha.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LogLevel>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:13:08.011Z") @Stability(Experimental) public enum LogLevel extends Enum<LogLevel>
(experimental) Available log levels for Flink applications.

Example:

 Bucket bucket;
 Application flinkApp = Application.Builder.create(this, "Application")
         .code(ApplicationCode.fromBucket(bucket, "my-app.jar"))
         .runtime(Runtime.FLINK_1_20)
         .checkpointingEnabled(true) // default is true
         .checkpointInterval(Duration.seconds(30)) // default is 1 minute
         .minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds
         .logLevel(LogLevel.ERROR) // default is INFO
         .metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION
         .autoScalingEnabled(false) // default is true
         .parallelism(32) // default is 1
         .parallelismPerKpu(2) // default is 1
         .snapshotsEnabled(false) // default is true
         .logGroup(new LogGroup(this, "LogGroup"))
         .build();
 
  • Enum Constant Details

    • DEBUG

      @Stability(Experimental) public static final LogLevel DEBUG
      (experimental) Debug level logging.
    • INFO

      @Stability(Experimental) public static final LogLevel INFO
      (experimental) Info level logging.
    • WARN

      @Stability(Experimental) public static final LogLevel WARN
      (experimental) Warn level logging.
    • ERROR

      @Stability(Experimental) public static final LogLevel ERROR
      (experimental) Error level logging.
  • Method Details

    • values

      public static LogLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LogLevel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null