Class HealthcareFhirStoreNotificationConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.healthcare_fhir_store.HealthcareFhirStoreNotificationConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<HealthcareFhirStoreNotificationConfigs>
- Enclosing interface:
- HealthcareFhirStoreNotificationConfigs
@Stability(Stable) public static final class HealthcareFhirStoreNotificationConfigs.Builder extends Object implements software.amazon.jsii.Builder<HealthcareFhirStoreNotificationConfigs>
A builder forHealthcareFhirStoreNotificationConfigs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
pubsubTopic
@Stability(Stable) public HealthcareFhirStoreNotificationConfigs.Builder pubsubTopic(String pubsubTopic)
Sets the value ofHealthcareFhirStoreNotificationConfigs.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
-
sendFullResource
@Stability(Stable) public HealthcareFhirStoreNotificationConfigs.Builder sendFullResource(Boolean sendFullResource)
Sets the value ofHealthcareFhirStoreNotificationConfigs.getSendFullResource()- Parameters:
sendFullResource- Whether to send full FHIR resource to this Pub/Sub topic for Create and Update operation. Note that setting this to true does not guarantee that all resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the "payloadType" label from a Pub/Sub message to determine whether it needs to fetch the full resource as a separate operation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_fhir_store#send_full_resource HealthcareFhirStore#send_full_resource}- Returns:
this
-
sendFullResource
@Stability(Stable) public HealthcareFhirStoreNotificationConfigs.Builder sendFullResource(com.hashicorp.cdktf.IResolvable sendFullResource)
Sets the value ofHealthcareFhirStoreNotificationConfigs.getSendFullResource()- Parameters:
sendFullResource- Whether to send full FHIR resource to this Pub/Sub topic for Create and Update operation. Note that setting this to true does not guarantee that all resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the "payloadType" label from a Pub/Sub message to determine whether it needs to fetch the full resource as a separate operation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_fhir_store#send_full_resource HealthcareFhirStore#send_full_resource}- Returns:
this
-
sendPreviousResourceOnDelete
@Stability(Stable) public HealthcareFhirStoreNotificationConfigs.Builder sendPreviousResourceOnDelete(Boolean sendPreviousResourceOnDelete)
Sets the value ofHealthcareFhirStoreNotificationConfigs.getSendPreviousResourceOnDelete()- Parameters:
sendPreviousResourceOnDelete- Whether to send full FHIR resource to this Pub/Sub topic for deleting FHIR resource. Note that setting this to true does not guarantee that all previous resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the "payloadType" label from a Pub/Sub message to determine whether it needs to fetch the full previous resource as a separate operation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_fhir_store#send_previous_resource_on_delete HealthcareFhirStore#send_previous_resource_on_delete}- Returns:
this
-
sendPreviousResourceOnDelete
@Stability(Stable) public HealthcareFhirStoreNotificationConfigs.Builder sendPreviousResourceOnDelete(com.hashicorp.cdktf.IResolvable sendPreviousResourceOnDelete)
Sets the value ofHealthcareFhirStoreNotificationConfigs.getSendPreviousResourceOnDelete()- Parameters:
sendPreviousResourceOnDelete- Whether to send full FHIR resource to this Pub/Sub topic for deleting FHIR resource. Note that setting this to true does not guarantee that all previous resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the "payloadType" label from a Pub/Sub message to determine whether it needs to fetch the full previous resource as a separate operation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_fhir_store#send_previous_resource_on_delete HealthcareFhirStore#send_previous_resource_on_delete}- Returns:
this
-
build
@Stability(Stable) public HealthcareFhirStoreNotificationConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HealthcareFhirStoreNotificationConfigs>- Returns:
- a new instance of
HealthcareFhirStoreNotificationConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-