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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


public final class AppConnectorPrincipalInfoServiceAccountArgs extends com.pulumi.resources.ResourceArgs {

    public static final AppConnectorPrincipalInfoServiceAccountArgs Empty = new AppConnectorPrincipalInfoServiceAccountArgs();

    /**
     * Email address of the service account.
     * 
     * ***
     * 
     */
    @Import(name="email", required=true)
    private Output<String> email;

    /**
     * @return Email address of the service account.
     * 
     * ***
     * 
     */
    public Output<String> email() {
        return this.email;
    }

    private AppConnectorPrincipalInfoServiceAccountArgs() {}

    private AppConnectorPrincipalInfoServiceAccountArgs(AppConnectorPrincipalInfoServiceAccountArgs $) {
        this.email = $.email;
    }

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

    public static final class Builder {
        private AppConnectorPrincipalInfoServiceAccountArgs $;

        public Builder() {
            $ = new AppConnectorPrincipalInfoServiceAccountArgs();
        }

        public Builder(AppConnectorPrincipalInfoServiceAccountArgs defaults) {
            $ = new AppConnectorPrincipalInfoServiceAccountArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param email Email address of the service account.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder email(Output<String> email) {
            $.email = email;
            return this;
        }

        /**
         * @param email Email address of the service account.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        public AppConnectorPrincipalInfoServiceAccountArgs build() {
            $.email = Objects.requireNonNull($.email, "expected parameter 'email' to be non-null");
            return $;
        }
    }

}
