Class CfnInsightRuleProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.CfnInsightRuleProps.Jsii$Proxy
All Implemented Interfaces:
CfnInsightRuleProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnInsightRuleProps

@Stability(Stable) @Internal public static final class CfnInsightRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInsightRuleProps
An implementation for CfnInsightRuleProps
  • Nested Class Summary

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

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.CfnInsightRuleProps

    CfnInsightRuleProps.Builder, CfnInsightRuleProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnInsightRuleProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The definition of the rule, as a JSON object.
    final String
    The name of the rule.
    final String
    The current state of the rule.
    final Object
    A list of key-value pairs to associate with the Contributor Insights rule.
    final int
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnInsightRuleProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnInsightRuleProps.Builder.
  • Method Details

    • getRuleBody

      public final String getRuleBody()
      Description copied from interface: CfnInsightRuleProps
      The definition of the rule, as a JSON object.

      For details about the syntax, see Contributor Insights Rule Syntax in the Amazon CloudWatch User Guide .

      Specified by:
      getRuleBody in interface CfnInsightRuleProps
    • getRuleName

      public final String getRuleName()
      Description copied from interface: CfnInsightRuleProps
      The name of the rule.
      Specified by:
      getRuleName in interface CfnInsightRuleProps
    • getRuleState

      public final String getRuleState()
      Description copied from interface: CfnInsightRuleProps
      The current state of the rule.

      Valid values are ENABLED and DISABLED .

      Specified by:
      getRuleState in interface CfnInsightRuleProps
    • getTags

      public final Object getTags()
      Description copied from interface: CfnInsightRuleProps
      A list of key-value pairs to associate with the Contributor Insights rule.

      You can associate as many as 50 tags with a rule.

      Tags can help you organize and categorize your resources. For more information, see Tagging Your Amazon CloudWatch Resources .

      To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

      Specified by:
      getTags in interface CfnInsightRuleProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object