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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.beyondcorp.outputs.AppConnectorPrincipalInfoServiceAccount;
import java.util.Objects;

@CustomType
public final class AppConnectorPrincipalInfo {
    /**
     * @return ServiceAccount represents a GCP service account.
     * Structure is documented below.
     * 
     */
    private AppConnectorPrincipalInfoServiceAccount serviceAccount;

    private AppConnectorPrincipalInfo() {}
    /**
     * @return ServiceAccount represents a GCP service account.
     * Structure is documented below.
     * 
     */
    public AppConnectorPrincipalInfoServiceAccount serviceAccount() {
        return this.serviceAccount;
    }

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

    public static Builder builder(AppConnectorPrincipalInfo defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private AppConnectorPrincipalInfoServiceAccount serviceAccount;
        public Builder() {}
        public Builder(AppConnectorPrincipalInfo defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.serviceAccount = defaults.serviceAccount;
        }

        @CustomType.Setter
        public Builder serviceAccount(AppConnectorPrincipalInfoServiceAccount serviceAccount) {
            this.serviceAccount = Objects.requireNonNull(serviceAccount);
            return this;
        }
        public AppConnectorPrincipalInfo build() {
            final var o = new AppConnectorPrincipalInfo();
            o.serviceAccount = serviceAccount;
            return o;
        }
    }
}
