// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.gcp.pubsub.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;

@CustomType
public final class GetSubscriptionPushConfigNoWrapper {
    private Boolean writeMetadata;

    private GetSubscriptionPushConfigNoWrapper() {}
    public Boolean writeMetadata() {
        return this.writeMetadata;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetSubscriptionPushConfigNoWrapper defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean writeMetadata;
        public Builder() {}
        public Builder(GetSubscriptionPushConfigNoWrapper defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.writeMetadata = defaults.writeMetadata;
        }

        @CustomType.Setter
        public Builder writeMetadata(Boolean writeMetadata) {
            this.writeMetadata = Objects.requireNonNull(writeMetadata);
            return this;
        }
        public GetSubscriptionPushConfigNoWrapper build() {
            final var o = new GetSubscriptionPushConfigNoWrapper();
            o.writeMetadata = writeMetadata;
            return o;
        }
    }
}
