Class EventarcTriggerDestinationNetworkConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.eventarc_trigger.EventarcTriggerDestinationNetworkConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventarcTriggerDestinationNetworkConfig>
- Enclosing interface:
- EventarcTriggerDestinationNetworkConfig
@Stability(Stable) public static final class EventarcTriggerDestinationNetworkConfig.Builder extends Object implements software.amazon.jsii.Builder<EventarcTriggerDestinationNetworkConfig>
A builder forEventarcTriggerDestinationNetworkConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventarcTriggerDestinationNetworkConfigbuild()Builds the configured instance.EventarcTriggerDestinationNetworkConfig.BuildernetworkAttachment(String networkAttachment)Sets the value ofEventarcTriggerDestinationNetworkConfig.getNetworkAttachment()
-
-
-
Method Detail
-
networkAttachment
@Stability(Stable) public EventarcTriggerDestinationNetworkConfig.Builder networkAttachment(String networkAttachment)
Sets the value ofEventarcTriggerDestinationNetworkConfig.getNetworkAttachment()- Parameters:
networkAttachment- Required. Name of the NetworkAttachment that allows access to the destination VPC. Format:projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#network_attachment EventarcTrigger#network_attachment}- Returns:
this
-
build
@Stability(Stable) public EventarcTriggerDestinationNetworkConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventarcTriggerDestinationNetworkConfig>- Returns:
- a new instance of
EventarcTriggerDestinationNetworkConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-