All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.elastic.inputs.UserInfoArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.azurenative.elastic.inputs;

import com.pulumi.azurenative.elastic.inputs.CompanyInfoArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * User Information to be passed to partners.
 * 
 */
public final class UserInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final UserInfoArgs Empty = new UserInfoArgs();

    /**
     * Company information of the user to be passed to partners.
     * 
     */
    @Import(name="companyInfo")
    private @Nullable Output companyInfo;

    /**
     * @return Company information of the user to be passed to partners.
     * 
     */
    public Optional> companyInfo() {
        return Optional.ofNullable(this.companyInfo);
    }

    /**
     * Company name of the user
     * 
     */
    @Import(name="companyName")
    private @Nullable Output companyName;

    /**
     * @return Company name of the user
     * 
     */
    public Optional> companyName() {
        return Optional.ofNullable(this.companyName);
    }

    /**
     * Email of the user used by Elastic for contacting them if needed
     * 
     */
    @Import(name="emailAddress")
    private @Nullable Output emailAddress;

    /**
     * @return Email of the user used by Elastic for contacting them if needed
     * 
     */
    public Optional> emailAddress() {
        return Optional.ofNullable(this.emailAddress);
    }

    /**
     * First name of the user
     * 
     */
    @Import(name="firstName")
    private @Nullable Output firstName;

    /**
     * @return First name of the user
     * 
     */
    public Optional> firstName() {
        return Optional.ofNullable(this.firstName);
    }

    /**
     * Last name of the user
     * 
     */
    @Import(name="lastName")
    private @Nullable Output lastName;

    /**
     * @return Last name of the user
     * 
     */
    public Optional> lastName() {
        return Optional.ofNullable(this.lastName);
    }

    private UserInfoArgs() {}

    private UserInfoArgs(UserInfoArgs $) {
        this.companyInfo = $.companyInfo;
        this.companyName = $.companyName;
        this.emailAddress = $.emailAddress;
        this.firstName = $.firstName;
        this.lastName = $.lastName;
    }

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

    public static final class Builder {
        private UserInfoArgs $;

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

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

        /**
         * @param companyInfo Company information of the user to be passed to partners.
         * 
         * @return builder
         * 
         */
        public Builder companyInfo(@Nullable Output companyInfo) {
            $.companyInfo = companyInfo;
            return this;
        }

        /**
         * @param companyInfo Company information of the user to be passed to partners.
         * 
         * @return builder
         * 
         */
        public Builder companyInfo(CompanyInfoArgs companyInfo) {
            return companyInfo(Output.of(companyInfo));
        }

        /**
         * @param companyName Company name of the user
         * 
         * @return builder
         * 
         */
        public Builder companyName(@Nullable Output companyName) {
            $.companyName = companyName;
            return this;
        }

        /**
         * @param companyName Company name of the user
         * 
         * @return builder
         * 
         */
        public Builder companyName(String companyName) {
            return companyName(Output.of(companyName));
        }

        /**
         * @param emailAddress Email of the user used by Elastic for contacting them if needed
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(@Nullable Output emailAddress) {
            $.emailAddress = emailAddress;
            return this;
        }

        /**
         * @param emailAddress Email of the user used by Elastic for contacting them if needed
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(String emailAddress) {
            return emailAddress(Output.of(emailAddress));
        }

        /**
         * @param firstName First name of the user
         * 
         * @return builder
         * 
         */
        public Builder firstName(@Nullable Output firstName) {
            $.firstName = firstName;
            return this;
        }

        /**
         * @param firstName First name of the user
         * 
         * @return builder
         * 
         */
        public Builder firstName(String firstName) {
            return firstName(Output.of(firstName));
        }

        /**
         * @param lastName Last name of the user
         * 
         * @return builder
         * 
         */
        public Builder lastName(@Nullable Output lastName) {
            $.lastName = lastName;
            return this;
        }

        /**
         * @param lastName Last name of the user
         * 
         * @return builder
         * 
         */
        public Builder lastName(String lastName) {
            return lastName(Output.of(lastName));
        }

        public UserInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy