Interface ColumnRestriction

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ColumnRestriction.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.093Z") @Stability(Stable) public interface ColumnRestriction extends software.amazon.jsii.JsiiSerializable
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.logs.*;
 ColumnRestriction columnRestriction = ColumnRestriction.builder()
         .comparison("comparison")
         // the properties below are optional
         .numberValue(123)
         .stringValue("stringValue")
         .build();
 
  • Method Details

    • getComparison

      @Stability(Stable) @NotNull String getComparison()
      Comparison operator to use.
    • getNumberValue

      @Stability(Stable) @Nullable default Number getNumberValue()
      Number value to compare to.

      Exactly one of 'stringValue' and 'numberValue' must be set.

    • getStringValue

      @Stability(Stable) @Nullable default String getStringValue()
      String value to compare to.

      Exactly one of 'stringValue' and 'numberValue' must be set.

    • builder

      @Stability(Stable) static ColumnRestriction.Builder builder()
      Returns:
      a ColumnRestriction.Builder of ColumnRestriction