Class HealthcareHl7V2StoreNotificationConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.healthcare_hl7_v2_store.HealthcareHl7V2StoreNotificationConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<HealthcareHl7V2StoreNotificationConfigs>
- Enclosing interface:
- HealthcareHl7V2StoreNotificationConfigs
@Stability(Stable) public static final class HealthcareHl7V2StoreNotificationConfigs.Builder extends Object implements software.amazon.jsii.Builder<HealthcareHl7V2StoreNotificationConfigs>
A builder forHealthcareHl7V2StoreNotificationConfigs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcareHl7V2StoreNotificationConfigsbuild()Builds the configured instance.HealthcareHl7V2StoreNotificationConfigs.Builderfilter(String filter)Sets the value ofHealthcareHl7V2StoreNotificationConfigs.getFilter()HealthcareHl7V2StoreNotificationConfigs.BuilderpubsubTopic(String pubsubTopic)Sets the value ofHealthcareHl7V2StoreNotificationConfigs.getPubsubTopic()
-
-
-
Method Detail
-
pubsubTopic
@Stability(Stable) public HealthcareHl7V2StoreNotificationConfigs.Builder pubsubTopic(String pubsubTopic)
Sets the value ofHealthcareHl7V2StoreNotificationConfigs.getPubsubTopic()- Parameters:
pubsubTopic- The Cloud Pub/Sub topic that notifications of changes are published on. This parameter is required. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#pubsub_topic HealthcareHl7V2Store#pubsub_topic}- Returns:
this
-
filter
@Stability(Stable) public HealthcareHl7V2StoreNotificationConfigs.Builder filter(String filter)
Sets the value ofHealthcareHl7V2StoreNotificationConfigs.getFilter()- Parameters:
filter- Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings. Fields/functions available for filtering are: * messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT". * send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02". * sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00". * sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC". * PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN"). * labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_hl7_v2_store#filter HealthcareHl7V2Store#filter}- Returns:
this
-
build
@Stability(Stable) public HealthcareHl7V2StoreNotificationConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HealthcareHl7V2StoreNotificationConfigs>- Returns:
- a new instance of
HealthcareHl7V2StoreNotificationConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-