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

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

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.identitystore.inputs;

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


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

    public static final UserEmailsArgs Empty = new UserEmailsArgs();

    /**
     * When `true`, this is the primary email associated with the user.
     * 
     */
    @Import(name="primary")
    private @Nullable Output primary;

    /**
     * @return When `true`, this is the primary email associated with the user.
     * 
     */
    public Optional> primary() {
        return Optional.ofNullable(this.primary);
    }

    /**
     * The type of email.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The type of email.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * The email address. This value must be unique across the identity store.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The email address. This value must be unique across the identity store.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private UserEmailsArgs() {}

    private UserEmailsArgs(UserEmailsArgs $) {
        this.primary = $.primary;
        this.type = $.type;
        this.value = $.value;
    }

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

    public static final class Builder {
        private UserEmailsArgs $;

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

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

        /**
         * @param primary When `true`, this is the primary email associated with the user.
         * 
         * @return builder
         * 
         */
        public Builder primary(@Nullable Output primary) {
            $.primary = primary;
            return this;
        }

        /**
         * @param primary When `true`, this is the primary email associated with the user.
         * 
         * @return builder
         * 
         */
        public Builder primary(Boolean primary) {
            return primary(Output.of(primary));
        }

        /**
         * @param type The type of email.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of email.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param value The email address. This value must be unique across the identity store.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The email address. This value must be unique across the identity store.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public UserEmailsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy