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

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


/**
 * User info
 * 
 */
public final class UserInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final UserInfoArgs Empty = new UserInfoArgs();

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

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

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

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

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

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

    private UserInfoArgs() {}

    private UserInfoArgs(UserInfoArgs $) {
        this.emailAddress = $.emailAddress;
        this.name = $.name;
        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 Datadog 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 Datadog for contacting them if needed
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(String emailAddress) {
            return emailAddress(Output.of(emailAddress));
        }

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

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

        /**
         * @param phoneNumber Phone number of the user used by Datadog 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 Datadog 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