Class ComputeSecurityPolicyRule.Jsii$Proxy

    • Constructor Detail

      • 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.
    • Method Detail

      • getAction

        public final String getAction()
        Description copied from interface: ComputeSecurityPolicyRule
        Action to take when match matches the request.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#action ComputeSecurityPolicy#action}

        Specified by:
        getAction in interface ComputeSecurityPolicyRule
      • getPriority

        public final Number getPriority()
        Description copied from interface: ComputeSecurityPolicyRule
        An unique positive integer indicating the priority of evaluation for a rule.

        Rules are evaluated from highest priority (lowest numerically) to lowest priority (highest numerically) in order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#priority ComputeSecurityPolicy#priority}

        Specified by:
        getPriority in interface ComputeSecurityPolicyRule
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeSecurityPolicyRule
        An optional description of this rule. Max size is 64.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#description ComputeSecurityPolicy#description}

        Specified by:
        getDescription in interface ComputeSecurityPolicyRule
      • getPreview

        public final Object getPreview()
        Description copied from interface: ComputeSecurityPolicyRule
        When set to true, the action specified above is not enforced.

        Stackdriver logs for requests that trigger a preview action are annotated as such. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#preview ComputeSecurityPolicy#preview}

        Specified by:
        getPreview in interface ComputeSecurityPolicyRule
      • $jsii$toJson

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

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