// *** 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.String;
import java.util.Objects;

@CustomType
public final class GetSubscriptionExpirationPolicy {
    private String ttl;

    private GetSubscriptionExpirationPolicy() {}
    public String ttl() {
        return this.ttl;
    }

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

    public static Builder builder(GetSubscriptionExpirationPolicy defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String ttl;
        public Builder() {}
        public Builder(GetSubscriptionExpirationPolicy defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ttl = defaults.ttl;
        }

        @CustomType.Setter
        public Builder ttl(String ttl) {
            this.ttl = Objects.requireNonNull(ttl);
            return this;
        }
        public GetSubscriptionExpirationPolicy build() {
            final var o = new GetSubscriptionExpirationPolicy();
            o.ttl = ttl;
            return o;
        }
    }
}
