// *** 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.cloudbuild.outputs;

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

@CustomType
public final class GetTriggerGithubPush {
    private String branch;
    private Boolean invertRegex;
    private String tag;

    private GetTriggerGithubPush() {}
    public String branch() {
        return this.branch;
    }
    public Boolean invertRegex() {
        return this.invertRegex;
    }
    public String tag() {
        return this.tag;
    }

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

    public static Builder builder(GetTriggerGithubPush defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String branch;
        private Boolean invertRegex;
        private String tag;
        public Builder() {}
        public Builder(GetTriggerGithubPush defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.branch = defaults.branch;
    	      this.invertRegex = defaults.invertRegex;
    	      this.tag = defaults.tag;
        }

        @CustomType.Setter
        public Builder branch(String branch) {
            this.branch = Objects.requireNonNull(branch);
            return this;
        }
        @CustomType.Setter
        public Builder invertRegex(Boolean invertRegex) {
            this.invertRegex = Objects.requireNonNull(invertRegex);
            return this;
        }
        @CustomType.Setter
        public Builder tag(String tag) {
            this.tag = Objects.requireNonNull(tag);
            return this;
        }
        public GetTriggerGithubPush build() {
            final var o = new GetTriggerGithubPush();
            o.branch = branch;
            o.invertRegex = invertRegex;
            o.tag = tag;
            return o;
        }
    }
}
