Class DataLossPreventionJobTriggerInspectJobActionsPubSub.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_job_trigger.DataLossPreventionJobTriggerInspectJobActionsPubSub.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobActionsPubSub>
- Enclosing interface:
- DataLossPreventionJobTriggerInspectJobActionsPubSub
@Stability(Stable) public static final class DataLossPreventionJobTriggerInspectJobActionsPubSub.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobActionsPubSub>
A builder forDataLossPreventionJobTriggerInspectJobActionsPubSub
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLossPreventionJobTriggerInspectJobActionsPubSubbuild()Builds the configured instance.DataLossPreventionJobTriggerInspectJobActionsPubSub.Buildertopic(String topic)Sets the value ofDataLossPreventionJobTriggerInspectJobActionsPubSub.getTopic()
-
-
-
Method Detail
-
topic
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobActionsPubSub.Builder topic(String topic)
Sets the value ofDataLossPreventionJobTriggerInspectJobActionsPubSub.getTopic()- Parameters:
topic- Cloud Pub/Sub topic to send notifications to. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#topic DataLossPreventionJobTrigger#topic}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobActionsPubSub build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobActionsPubSub>- Returns:
- a new instance of
DataLossPreventionJobTriggerInspectJobActionsPubSub - Throws:
NullPointerException- if any required attribute was not provided
-
-