Class CloudRunServiceTraffic.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

      • getPercent

        public final Number getPercent()
        Description copied from interface: CloudRunServiceTraffic
        Percent specifies percent of the traffic to this Revision or Configuration.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#percent CloudRunService#percent}

        Specified by:
        getPercent in interface CloudRunServiceTraffic
      • getLatestRevision

        public final Object getLatestRevision()
        Description copied from interface: CloudRunServiceTraffic
        LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.

        When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#latest_revision CloudRunService#latest_revision}

        Specified by:
        getLatestRevision in interface CloudRunServiceTraffic
      • getRevisionName

        public final String getRevisionName()
        Description copied from interface: CloudRunServiceTraffic
        RevisionName of a specific revision to which to send this portion of traffic.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#revision_name CloudRunService#revision_name}

        Specified by:
        getRevisionName in interface CloudRunServiceTraffic
      • getTag

        public final String getTag()
        Description copied from interface: CloudRunServiceTraffic
        Tag is optionally used to expose a dedicated url for referencing this target exclusively.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#tag CloudRunService#tag}

        Specified by:
        getTag in interface CloudRunServiceTraffic
      • $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