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

com.pulumi.azurenative.logz.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.logz.inputs;

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;


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

    public static final UserInfoArgs Empty = new UserInfoArgs();

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

    /**
     * @return Email of the user used by Logz 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);
    }

    /**
     * Phone number of the user used by Logz for contacting them if needed
     * 
     */
    @Import(name="phoneNumber")
    private @Nullable Output phoneNumber;

    /**
     * @return Phone number of the user used by Logz for contacting them if needed
     * 
     */
    public Optional> phoneNumber() {
        return Optional.ofNullable(this.phoneNumber);
    }

    private UserInfoArgs() {}

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

    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 emailAddress Email of the user used by Logz 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 Logz 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));
        }

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

        /**
         * @param phoneNumber Phone number of the user used by Logz for contacting them if needed
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(String phoneNumber) {
            return phoneNumber(Output.of(phoneNumber));
        }

        public UserInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy