Class EventarcTriggerDestinationCloudRunService.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.eventarc_trigger.EventarcTriggerDestinationCloudRunService.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventarcTriggerDestinationCloudRunService>
- Enclosing interface:
- EventarcTriggerDestinationCloudRunService
@Stability(Stable) public static final class EventarcTriggerDestinationCloudRunService.Builder extends Object implements software.amazon.jsii.Builder<EventarcTriggerDestinationCloudRunService>
A builder forEventarcTriggerDestinationCloudRunService
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventarcTriggerDestinationCloudRunServicebuild()Builds the configured instance.EventarcTriggerDestinationCloudRunService.Builderpath(String path)Sets the value ofEventarcTriggerDestinationCloudRunService.getPath()EventarcTriggerDestinationCloudRunService.Builderregion(String region)Sets the value ofEventarcTriggerDestinationCloudRunService.getRegion()EventarcTriggerDestinationCloudRunService.Builderservice(String service)Sets the value ofEventarcTriggerDestinationCloudRunService.getService()
-
-
-
Method Detail
-
service
@Stability(Stable) public EventarcTriggerDestinationCloudRunService.Builder service(String service)
Sets the value ofEventarcTriggerDestinationCloudRunService.getService()- Parameters:
service- Required. This parameter is required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#service EventarcTrigger#service}- Returns:
this
-
path
@Stability(Stable) public EventarcTriggerDestinationCloudRunService.Builder path(String path)
Sets the value ofEventarcTriggerDestinationCloudRunService.getPath()- Parameters:
path- Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#path EventarcTrigger#path}- Returns:
this
-
region
@Stability(Stable) public EventarcTriggerDestinationCloudRunService.Builder region(String region)
Sets the value ofEventarcTriggerDestinationCloudRunService.getRegion()- Parameters:
region- Required. The region the Cloud Run service is deployed in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#region EventarcTrigger#region}- Returns:
this
-
build
@Stability(Stable) public EventarcTriggerDestinationCloudRunService build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventarcTriggerDestinationCloudRunService>- Returns:
- a new instance of
EventarcTriggerDestinationCloudRunService - Throws:
NullPointerException- if any required attribute was not provided
-
-