Class EventarcTriggerDestination.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.eventarc_trigger.EventarcTriggerDestination.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventarcTriggerDestination>
- Enclosing interface:
- EventarcTriggerDestination
@Stability(Stable) public static final class EventarcTriggerDestination.Builder extends Object implements software.amazon.jsii.Builder<EventarcTriggerDestination>
A builder forEventarcTriggerDestination
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventarcTriggerDestinationbuild()Builds the configured instance.EventarcTriggerDestination.BuildercloudRunService(EventarcTriggerDestinationCloudRunService cloudRunService)Sets the value ofEventarcTriggerDestination.getCloudRunService()EventarcTriggerDestination.Buildergke(EventarcTriggerDestinationGke gke)Sets the value ofEventarcTriggerDestination.getGke()EventarcTriggerDestination.BuilderhttpEndpoint(EventarcTriggerDestinationHttpEndpoint httpEndpoint)Sets the value ofEventarcTriggerDestination.getHttpEndpoint()EventarcTriggerDestination.BuildernetworkConfig(EventarcTriggerDestinationNetworkConfig networkConfig)Sets the value ofEventarcTriggerDestination.getNetworkConfig()EventarcTriggerDestination.Builderworkflow(String workflow)Sets the value ofEventarcTriggerDestination.getWorkflow()
-
-
-
Method Detail
-
cloudRunService
@Stability(Stable) public EventarcTriggerDestination.Builder cloudRunService(EventarcTriggerDestinationCloudRunService cloudRunService)
Sets the value ofEventarcTriggerDestination.getCloudRunService()- Parameters:
cloudRunService- cloud_run_service block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#cloud_run_service EventarcTrigger#cloud_run_service}- Returns:
this
-
gke
@Stability(Stable) public EventarcTriggerDestination.Builder gke(EventarcTriggerDestinationGke gke)
Sets the value ofEventarcTriggerDestination.getGke()- Parameters:
gke- gke block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#gke EventarcTrigger#gke}- Returns:
this
-
httpEndpoint
@Stability(Stable) public EventarcTriggerDestination.Builder httpEndpoint(EventarcTriggerDestinationHttpEndpoint httpEndpoint)
Sets the value ofEventarcTriggerDestination.getHttpEndpoint()- Parameters:
httpEndpoint- http_endpoint block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#http_endpoint EventarcTrigger#http_endpoint}- Returns:
this
-
networkConfig
@Stability(Stable) public EventarcTriggerDestination.Builder networkConfig(EventarcTriggerDestinationNetworkConfig networkConfig)
Sets the value ofEventarcTriggerDestination.getNetworkConfig()- Parameters:
networkConfig- network_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#network_config EventarcTrigger#network_config}- Returns:
this
-
workflow
@Stability(Stable) public EventarcTriggerDestination.Builder workflow(String workflow)
Sets the value ofEventarcTriggerDestination.getWorkflow()- Parameters:
workflow- The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#workflow EventarcTrigger#workflow}- Returns:
this
-
build
@Stability(Stable) public EventarcTriggerDestination build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventarcTriggerDestination>- Returns:
- a new instance of
EventarcTriggerDestination - Throws:
NullPointerException- if any required attribute was not provided
-
-