Interface ColumnRestriction

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:32.263Z") @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