Class PubsubLiteTopicReservationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.pubsub_lite_topic.PubsubLiteTopicReservationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PubsubLiteTopicReservationConfig>
- Enclosing interface:
- PubsubLiteTopicReservationConfig
@Stability(Stable) public static final class PubsubLiteTopicReservationConfig.Builder extends Object implements software.amazon.jsii.Builder<PubsubLiteTopicReservationConfig>
A builder forPubsubLiteTopicReservationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubsubLiteTopicReservationConfigbuild()Builds the configured instance.PubsubLiteTopicReservationConfig.BuilderthroughputReservation(String throughputReservation)Sets the value ofPubsubLiteTopicReservationConfig.getThroughputReservation()
-
-
-
Method Detail
-
throughputReservation
@Stability(Stable) public PubsubLiteTopicReservationConfig.Builder throughputReservation(String throughputReservation)
Sets the value ofPubsubLiteTopicReservationConfig.getThroughputReservation()- Parameters:
throughputReservation- The Reservation to use for this topic's throughput capacity. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_lite_topic#throughput_reservation PubsubLiteTopic#throughput_reservation}- Returns:
this
-
build
@Stability(Stable) public PubsubLiteTopicReservationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PubsubLiteTopicReservationConfig>- Returns:
- a new instance of
PubsubLiteTopicReservationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-