Class CloudRunServiceTraffic.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloud_run_service.CloudRunServiceTraffic.Jsii$Proxy
-
- All Implemented Interfaces:
CloudRunServiceTraffic,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudRunServiceTraffic
@Stability(Stable) @Internal public static final class CloudRunServiceTraffic.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudRunServiceTraffic
An implementation forCloudRunServiceTraffic
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.cloud_run_service.CloudRunServiceTraffic
CloudRunServiceTraffic.Builder, CloudRunServiceTraffic.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudRunServiceTraffic.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudRunServiceTraffic.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetLatestRevision()LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.NumbergetPercent()Percent specifies percent of the traffic to this Revision or Configuration.StringgetRevisionName()RevisionName of a specific revision to which to send this portion of traffic.StringgetTag()Tag is optionally used to expose a dedicated url for referencing this target exclusively.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(CloudRunServiceTraffic.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudRunServiceTraffic.Builder.
-
-
Method Detail
-
getPercent
public final Number getPercent()
Description copied from interface:CloudRunServiceTrafficPercent 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:
getPercentin interfaceCloudRunServiceTraffic
-
getLatestRevision
public final Object getLatestRevision()
Description copied from interface:CloudRunServiceTrafficLatestRevision 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:
getLatestRevisionin interfaceCloudRunServiceTraffic
-
getRevisionName
public final String getRevisionName()
Description copied from interface:CloudRunServiceTrafficRevisionName 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:
getRevisionNamein interfaceCloudRunServiceTraffic
-
getTag
public final String getTag()
Description copied from interface:CloudRunServiceTrafficTag 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:
getTagin interfaceCloudRunServiceTraffic
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-