Class QueryString

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.QueryString
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.132Z") @Stability(Stable) public class QueryString extends software.amazon.jsii.JsiiObject
Define a QueryString.

Example:

 QueryDefinition.Builder.create(this, "QueryDefinition")
         .queryDefinitionName("MyQuery")
         .queryString(QueryString.Builder.create()
                 .fields(List.of("@timestamp", "@message"))
                 .sort("@timestamp desc")
                 .limit(20)
                 .build())
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for QueryString.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
     
     
    protected
    QueryString(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    QueryString(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    String representation of this QueryString.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • QueryString

      protected QueryString(software.amazon.jsii.JsiiObjectRef objRef)
    • QueryString

      protected QueryString(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • QueryString

      @Stability(Stable) public QueryString(@Nullable QueryStringProps props)
      Parameters:
      props -
    • QueryString

      @Stability(Stable) public QueryString()
  • Method Details

    • toString

      @Stability(Stable) @NotNull public String toString()
      String representation of this QueryString.
      Overrides:
      toString in class Object