Class DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_discovery_config.DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionDiscoveryConfigActionsPubSubNotification>
- Enclosing interface:
- DataLossPreventionDiscoveryConfigActionsPubSubNotification
@Stability(Stable) public static final class DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionDiscoveryConfigActionsPubSubNotification>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLossPreventionDiscoveryConfigActionsPubSubNotificationbuild()Builds the configured instance.DataLossPreventionDiscoveryConfigActionsPubSubNotification.BuilderdetailOfMessage(String detailOfMessage)DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builderevent(String event)Sets the value ofDataLossPreventionDiscoveryConfigActionsPubSubNotification.getEvent()DataLossPreventionDiscoveryConfigActionsPubSubNotification.BuilderpubsubCondition(DataLossPreventionDiscoveryConfigActionsPubSubNotificationPubsubCondition pubsubCondition)DataLossPreventionDiscoveryConfigActionsPubSubNotification.Buildertopic(String topic)Sets the value ofDataLossPreventionDiscoveryConfigActionsPubSubNotification.getTopic()
-
-
-
Method Detail
-
detailOfMessage
@Stability(Stable) public DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder detailOfMessage(String detailOfMessage)
- Parameters:
detailOfMessage- How much data to include in the pub/sub message. Possible values: ["TABLE_PROFILE", "RESOURCE_NAME"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_discovery_config#detail_of_message DataLossPreventionDiscoveryConfig#detail_of_message}- Returns:
this
-
event
@Stability(Stable) public DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder event(String event)
Sets the value ofDataLossPreventionDiscoveryConfigActionsPubSubNotification.getEvent()- Parameters:
event- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values: ["NEW_PROFILE", "CHANGED_PROFILE", "SCORE_INCREASED", "ERROR_CHANGED"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_discovery_config#event DataLossPreventionDiscoveryConfig#event}- Returns:
this
-
pubsubCondition
@Stability(Stable) public DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder pubsubCondition(DataLossPreventionDiscoveryConfigActionsPubSubNotificationPubsubCondition pubsubCondition)
- Parameters:
pubsubCondition- pubsub_condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_discovery_config#pubsub_condition DataLossPreventionDiscoveryConfig#pubsub_condition}- Returns:
this
-
topic
@Stability(Stable) public DataLossPreventionDiscoveryConfigActionsPubSubNotification.Builder topic(String topic)
Sets the value ofDataLossPreventionDiscoveryConfigActionsPubSubNotification.getTopic()- Parameters:
topic- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_discovery_config#topic DataLossPreventionDiscoveryConfig#topic}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionDiscoveryConfigActionsPubSubNotification build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionDiscoveryConfigActionsPubSubNotification>- Returns:
- a new instance of
DataLossPreventionDiscoveryConfigActionsPubSubNotification - Throws:
NullPointerException- if any required attribute was not provided
-
-