Class PubsubTopicMessageStoragePolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • allowedPersistenceRegions

        @Stability(Stable)
        public PubsubTopicMessageStoragePolicy.Builder allowedPersistenceRegions​(List<String> allowedPersistenceRegions)
        Parameters:
        allowedPersistenceRegions - A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. This parameter is required. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#allowed_persistence_regions PubsubTopic#allowed_persistence_regions}
        Returns:
        this