Class PubsubLiteSubscriptionDeliveryConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.pubsub_lite_subscription.PubsubLiteSubscriptionDeliveryConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PubsubLiteSubscriptionDeliveryConfig>
- Enclosing interface:
- PubsubLiteSubscriptionDeliveryConfig
@Stability(Stable) public static final class PubsubLiteSubscriptionDeliveryConfig.Builder extends Object implements software.amazon.jsii.Builder<PubsubLiteSubscriptionDeliveryConfig>
A builder forPubsubLiteSubscriptionDeliveryConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubsubLiteSubscriptionDeliveryConfigbuild()Builds the configured instance.PubsubLiteSubscriptionDeliveryConfig.BuilderdeliveryRequirement(String deliveryRequirement)Sets the value ofPubsubLiteSubscriptionDeliveryConfig.getDeliveryRequirement()
-
-
-
Method Detail
-
deliveryRequirement
@Stability(Stable) public PubsubLiteSubscriptionDeliveryConfig.Builder deliveryRequirement(String deliveryRequirement)
Sets the value ofPubsubLiteSubscriptionDeliveryConfig.getDeliveryRequirement()- Parameters:
deliveryRequirement- When this subscription should send messages to subscribers relative to messages persistence in storage. Possible values: ["DELIVER_IMMEDIATELY", "DELIVER_AFTER_STORED", "DELIVERY_REQUIREMENT_UNSPECIFIED"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_lite_subscription#delivery_requirement PubsubLiteSubscription#delivery_requirement}- Returns:
this
-
build
@Stability(Stable) public PubsubLiteSubscriptionDeliveryConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PubsubLiteSubscriptionDeliveryConfig>- Returns:
- a new instance of
PubsubLiteSubscriptionDeliveryConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-