Class PubsubSubscriptionPushConfigNoWrapper.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.pubsub_subscription.PubsubSubscriptionPushConfigNoWrapper.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PubsubSubscriptionPushConfigNoWrapper>
- Enclosing interface:
- PubsubSubscriptionPushConfigNoWrapper
@Stability(Stable) public static final class PubsubSubscriptionPushConfigNoWrapper.Builder extends Object implements software.amazon.jsii.Builder<PubsubSubscriptionPushConfigNoWrapper>
A builder forPubsubSubscriptionPushConfigNoWrapper
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubsubSubscriptionPushConfigNoWrapperbuild()Builds the configured instance.PubsubSubscriptionPushConfigNoWrapper.BuilderwriteMetadata(com.hashicorp.cdktf.IResolvable writeMetadata)Sets the value ofPubsubSubscriptionPushConfigNoWrapper.getWriteMetadata()PubsubSubscriptionPushConfigNoWrapper.BuilderwriteMetadata(Boolean writeMetadata)Sets the value ofPubsubSubscriptionPushConfigNoWrapper.getWriteMetadata()
-
-
-
Method Detail
-
writeMetadata
@Stability(Stable) public PubsubSubscriptionPushConfigNoWrapper.Builder writeMetadata(Boolean writeMetadata)
Sets the value ofPubsubSubscriptionPushConfigNoWrapper.getWriteMetadata()- Parameters:
writeMetadata- When true, writes the Pub/Sub message metadata to 'x-goog-pubsub-: ' headers of the HTTP request. This parameter is required. Writes the Pub/Sub message attributes to ' : ' headers of the HTTP request. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#write_metadata PubsubSubscription#write_metadata} - Returns:
this
-
writeMetadata
@Stability(Stable) public PubsubSubscriptionPushConfigNoWrapper.Builder writeMetadata(com.hashicorp.cdktf.IResolvable writeMetadata)
Sets the value ofPubsubSubscriptionPushConfigNoWrapper.getWriteMetadata()- Parameters:
writeMetadata- When true, writes the Pub/Sub message metadata to 'x-goog-pubsub-: ' headers of the HTTP request. This parameter is required. Writes the Pub/Sub message attributes to ' : ' headers of the HTTP request. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#write_metadata PubsubSubscription#write_metadata} - Returns:
this
-
build
@Stability(Stable) public PubsubSubscriptionPushConfigNoWrapper build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PubsubSubscriptionPushConfigNoWrapper>- Returns:
- a new instance of
PubsubSubscriptionPushConfigNoWrapper - Throws:
NullPointerException- if any required attribute was not provided
-
-