Package com.pulumi.gcp.pubsub.inputs
Class TopicMessageStoragePolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.pubsub.inputs.TopicMessageStoragePolicyArgs.Builder
-
- Enclosing class:
- TopicMessageStoragePolicyArgs
public static final class TopicMessageStoragePolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(TopicMessageStoragePolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicMessageStoragePolicyArgs.Builder
allowedPersistenceRegions(com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPersistenceRegions)
TopicMessageStoragePolicyArgs.Builder
allowedPersistenceRegions(java.lang.String... allowedPersistenceRegions)
TopicMessageStoragePolicyArgs.Builder
allowedPersistenceRegions(java.util.List<java.lang.String> allowedPersistenceRegions)
TopicMessageStoragePolicyArgs
build()
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TopicMessageStoragePolicyArgs defaults)
-
-
Method Detail
-
allowedPersistenceRegions
public TopicMessageStoragePolicyArgs.Builder allowedPersistenceRegions(com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPersistenceRegions)
- Parameters:
allowedPersistenceRegions
- A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. 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.- Returns:
- builder
-
allowedPersistenceRegions
public TopicMessageStoragePolicyArgs.Builder allowedPersistenceRegions(java.util.List<java.lang.String> allowedPersistenceRegions)
- Parameters:
allowedPersistenceRegions
- A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. 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.- Returns:
- builder
-
allowedPersistenceRegions
public TopicMessageStoragePolicyArgs.Builder allowedPersistenceRegions(java.lang.String... allowedPersistenceRegions)
- Parameters:
allowedPersistenceRegions
- A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. 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.- Returns:
- builder
-
build
public TopicMessageStoragePolicyArgs build()
-
-