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

com.pulumi.aws.identitystore.inputs.UserNameArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final UserNameArgs Empty = new UserNameArgs();

    /**
     * The family name of the user.
     * 
     */
    @Import(name="familyName", required=true)
    private Output familyName;

    /**
     * @return The family name of the user.
     * 
     */
    public Output familyName() {
        return this.familyName;
    }

    /**
     * The name that is typically displayed when the name is shown for display.
     * 
     */
    @Import(name="formatted")
    private @Nullable Output formatted;

    /**
     * @return The name that is typically displayed when the name is shown for display.
     * 
     */
    public Optional> formatted() {
        return Optional.ofNullable(this.formatted);
    }

    /**
     * The given name of the user.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="givenName", required=true)
    private Output givenName;

    /**
     * @return The given name of the user.
     * 
     * The following arguments are optional:
     * 
     */
    public Output givenName() {
        return this.givenName;
    }

    /**
     * The honorific prefix of the user.
     * 
     */
    @Import(name="honorificPrefix")
    private @Nullable Output honorificPrefix;

    /**
     * @return The honorific prefix of the user.
     * 
     */
    public Optional> honorificPrefix() {
        return Optional.ofNullable(this.honorificPrefix);
    }

    /**
     * The honorific suffix of the user.
     * 
     */
    @Import(name="honorificSuffix")
    private @Nullable Output honorificSuffix;

    /**
     * @return The honorific suffix of the user.
     * 
     */
    public Optional> honorificSuffix() {
        return Optional.ofNullable(this.honorificSuffix);
    }

    /**
     * The middle name of the user.
     * 
     */
    @Import(name="middleName")
    private @Nullable Output middleName;

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

    private UserNameArgs() {}

    private UserNameArgs(UserNameArgs $) {
        this.familyName = $.familyName;
        this.formatted = $.formatted;
        this.givenName = $.givenName;
        this.honorificPrefix = $.honorificPrefix;
        this.honorificSuffix = $.honorificSuffix;
        this.middleName = $.middleName;
    }

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

    public static final class Builder {
        private UserNameArgs $;

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

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

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

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

        /**
         * @param formatted The name that is typically displayed when the name is shown for display.
         * 
         * @return builder
         * 
         */
        public Builder formatted(@Nullable Output formatted) {
            $.formatted = formatted;
            return this;
        }

        /**
         * @param formatted The name that is typically displayed when the name is shown for display.
         * 
         * @return builder
         * 
         */
        public Builder formatted(String formatted) {
            return formatted(Output.of(formatted));
        }

        /**
         * @param givenName The given name of the user.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder givenName(Output givenName) {
            $.givenName = givenName;
            return this;
        }

        /**
         * @param givenName The given name of the user.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder givenName(String givenName) {
            return givenName(Output.of(givenName));
        }

        /**
         * @param honorificPrefix The honorific prefix of the user.
         * 
         * @return builder
         * 
         */
        public Builder honorificPrefix(@Nullable Output honorificPrefix) {
            $.honorificPrefix = honorificPrefix;
            return this;
        }

        /**
         * @param honorificPrefix The honorific prefix of the user.
         * 
         * @return builder
         * 
         */
        public Builder honorificPrefix(String honorificPrefix) {
            return honorificPrefix(Output.of(honorificPrefix));
        }

        /**
         * @param honorificSuffix The honorific suffix of the user.
         * 
         * @return builder
         * 
         */
        public Builder honorificSuffix(@Nullable Output honorificSuffix) {
            $.honorificSuffix = honorificSuffix;
            return this;
        }

        /**
         * @param honorificSuffix The honorific suffix of the user.
         * 
         * @return builder
         * 
         */
        public Builder honorificSuffix(String honorificSuffix) {
            return honorificSuffix(Output.of(honorificSuffix));
        }

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

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

        public UserNameArgs build() {
            if ($.familyName == null) {
                throw new MissingRequiredPropertyException("UserNameArgs", "familyName");
            }
            if ($.givenName == null) {
                throw new MissingRequiredPropertyException("UserNameArgs", "givenName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy