Class CloudRunV2ServiceTraffic.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTraffic.Jsii$Proxy
-
- All Implemented Interfaces:
CloudRunV2ServiceTraffic,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudRunV2ServiceTraffic
@Stability(Stable) @Internal public static final class CloudRunV2ServiceTraffic.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudRunV2ServiceTraffic
An implementation forCloudRunV2ServiceTraffic
-
-
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_v2_service.CloudRunV2ServiceTraffic
CloudRunV2ServiceTraffic.Builder, CloudRunV2ServiceTraffic.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudRunV2ServiceTraffic.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudRunV2ServiceTraffic.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)NumbergetPercent()Specifies percent of the traffic to this Revision.StringgetRevision()Revision to which to send this portion of traffic, if traffic allocation is by revision.StringgetTag()Indicates a string to be part of the URI to exclusively reference this target.StringgetType()The allocation type for this traffic target.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(CloudRunV2ServiceTraffic.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudRunV2ServiceTraffic.Builder.
-
-
Method Detail
-
getPercent
public final Number getPercent()
Description copied from interface:CloudRunV2ServiceTrafficSpecifies percent of the traffic to this Revision. This defaults to zero if unspecified.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#percent CloudRunV2Service#percent}
- Specified by:
getPercentin interfaceCloudRunV2ServiceTraffic
-
getRevision
public final String getRevision()
Description copied from interface:CloudRunV2ServiceTrafficRevision to which to send this portion of traffic, if traffic allocation is by revision.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#revision CloudRunV2Service#revision}
- Specified by:
getRevisionin interfaceCloudRunV2ServiceTraffic
-
getTag
public final String getTag()
Description copied from interface:CloudRunV2ServiceTrafficIndicates a string to be part of the URI to exclusively reference this target.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#tag CloudRunV2Service#tag}
- Specified by:
getTagin interfaceCloudRunV2ServiceTraffic
-
getType
public final String getType()
Description copied from interface:CloudRunV2ServiceTrafficThe allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#type CloudRunV2Service#type}
- Specified by:
getTypein interfaceCloudRunV2ServiceTraffic
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-