Class: AWSCDK::Logs::QueryString
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::Logs::QueryString
- Defined in:
- logs/query_string.rb
Overview
Define a QueryString.
Class Method Summary collapse
Instance Method Summary collapse
-
#has_stats_and_stats_statements ⇒ Boolean
If the props for the query string have both stats and statsStatements.
-
#initialize(props = nil) ⇒ QueryString
constructor
A new instance of QueryString.
-
#stats_statements_length ⇒ Numeric?
Length of statsStatements.
-
#to_string ⇒ String
String representation of this QueryString.
Constructor Details
#initialize(props = nil) ⇒ QueryString
Returns a new instance of QueryString.
9 10 11 12 13 |
# File 'logs/query_string.rb', line 9 def initialize(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::Logs::QueryStringProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbG9ncy5RdWVyeVN0cmluZ1Byb3BzIn0=")), "props") unless props.nil? Jsii::Object.instance_method(:initialize).bind(self).call(props) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
15 16 17 18 19 20 21 |
# File 'logs/query_string.rb', line 15 def self.jsii_overridable_methods { :has_stats_and_stats_statements => { kind: :property, name: "hasStatsAndStatsStatements", is_optional: false }, :stats_statements_length => { kind: :property, name: "statsStatementsLength", is_optional: true }, :to_string => { kind: :method, name: "toString", is_optional: false }, } end |
Instance Method Details
#has_stats_and_stats_statements ⇒ Boolean
If the props for the query string have both stats and statsStatements.
26 27 28 |
# File 'logs/query_string.rb', line 26 def has_stats_and_stats_statements() jsii_get_property("hasStatsAndStatsStatements") end |
#stats_statements_length ⇒ Numeric?
Length of statsStatements.
33 34 35 |
# File 'logs/query_string.rb', line 33 def stats_statements_length() jsii_get_property("statsStatementsLength") end |
#to_string ⇒ String
String representation of this QueryString.
40 41 42 |
# File 'logs/query_string.rb', line 40 def to_string() jsii_call_method("toString", []) end |