Class HealthcareFhirStoreNotificationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.healthcare_fhir_store.HealthcareFhirStoreNotificationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<HealthcareFhirStoreNotificationConfig>
- Enclosing interface:
- HealthcareFhirStoreNotificationConfig
@Stability(Stable) public static final class HealthcareFhirStoreNotificationConfig.Builder extends Object implements software.amazon.jsii.Builder<HealthcareFhirStoreNotificationConfig>
A builder forHealthcareFhirStoreNotificationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcareFhirStoreNotificationConfigbuild()Builds the configured instance.HealthcareFhirStoreNotificationConfig.BuilderpubsubTopic(String pubsubTopic)Sets the value ofHealthcareFhirStoreNotificationConfig.getPubsubTopic()
-
-
-
Method Detail
-
pubsubTopic
@Stability(Stable) public HealthcareFhirStoreNotificationConfig.Builder pubsubTopic(String pubsubTopic)
Sets the value ofHealthcareFhirStoreNotificationConfig.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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_fhir_store#pubsub_topic HealthcareFhirStore#pubsub_topic}- Returns:
this
-
build
@Stability(Stable) public HealthcareFhirStoreNotificationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HealthcareFhirStoreNotificationConfig>- Returns:
- a new instance of
HealthcareFhirStoreNotificationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-