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

com.ovhcloud.pulumi.ovh.Me.inputs.IdentityUserState Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Me.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 IdentityUserState extends com.pulumi.resources.ResourceArgs {

    public static final IdentityUserState Empty = new IdentityUserState();

    /**
     * URN of the user, used when writing IAM policies
     * 
     */
    @Import(name="UserURN")
    private @Nullable Output UserURN;

    /**
     * @return URN of the user, used when writing IAM policies
     * 
     */
    public Optional> UserURN() {
        return Optional.ofNullable(this.UserURN);
    }

    /**
     * Creation date of this user.
     * 
     */
    @Import(name="creation")
    private @Nullable Output creation;

    /**
     * @return Creation date of this user.
     * 
     */
    public Optional> creation() {
        return Optional.ofNullable(this.creation);
    }

    /**
     * User description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return User description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * User's email.
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return User's email.
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

    /**
     * User's group.
     * 
     */
    @Import(name="group")
    private @Nullable Output group;

    /**
     * @return User's group.
     * 
     */
    public Optional> group() {
        return Optional.ofNullable(this.group);
    }

    /**
     * Last update of this user.
     * 
     */
    @Import(name="lastUpdate")
    private @Nullable Output lastUpdate;

    /**
     * @return Last update of this user.
     * 
     */
    public Optional> lastUpdate() {
        return Optional.ofNullable(this.lastUpdate);
    }

    /**
     * User's login suffix.
     * 
     */
    @Import(name="login")
    private @Nullable Output login;

    /**
     * @return User's login suffix.
     * 
     */
    public Optional> login() {
        return Optional.ofNullable(this.login);
    }

    /**
     * User's password.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return User's password.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * When the user changed his password for the last time.
     * 
     */
    @Import(name="passwordLastUpdate")
    private @Nullable Output passwordLastUpdate;

    /**
     * @return When the user changed his password for the last time.
     * 
     */
    public Optional> passwordLastUpdate() {
        return Optional.ofNullable(this.passwordLastUpdate);
    }

    /**
     * Current user's status.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Current user's status.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private IdentityUserState() {}

    private IdentityUserState(IdentityUserState $) {
        this.UserURN = $.UserURN;
        this.creation = $.creation;
        this.description = $.description;
        this.email = $.email;
        this.group = $.group;
        this.lastUpdate = $.lastUpdate;
        this.login = $.login;
        this.password = $.password;
        this.passwordLastUpdate = $.passwordLastUpdate;
        this.status = $.status;
    }

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

    public static final class Builder {
        private IdentityUserState $;

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

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

        /**
         * @param UserURN URN of the user, used when writing IAM policies
         * 
         * @return builder
         * 
         */
        public Builder UserURN(@Nullable Output UserURN) {
            $.UserURN = UserURN;
            return this;
        }

        /**
         * @param UserURN URN of the user, used when writing IAM policies
         * 
         * @return builder
         * 
         */
        public Builder UserURN(String UserURN) {
            return UserURN(Output.of(UserURN));
        }

        /**
         * @param creation Creation date of this user.
         * 
         * @return builder
         * 
         */
        public Builder creation(@Nullable Output creation) {
            $.creation = creation;
            return this;
        }

        /**
         * @param creation Creation date of this user.
         * 
         * @return builder
         * 
         */
        public Builder creation(String creation) {
            return creation(Output.of(creation));
        }

        /**
         * @param description User description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description User description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param email User's email.
         * 
         * @return builder
         * 
         */
        public Builder email(@Nullable Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email User's email.
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        /**
         * @param group User's group.
         * 
         * @return builder
         * 
         */
        public Builder group(@Nullable Output group) {
            $.group = group;
            return this;
        }

        /**
         * @param group User's group.
         * 
         * @return builder
         * 
         */
        public Builder group(String group) {
            return group(Output.of(group));
        }

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

        /**
         * @param lastUpdate Last update of this user.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdate(String lastUpdate) {
            return lastUpdate(Output.of(lastUpdate));
        }

        /**
         * @param login User's login suffix.
         * 
         * @return builder
         * 
         */
        public Builder login(@Nullable Output login) {
            $.login = login;
            return this;
        }

        /**
         * @param login User's login suffix.
         * 
         * @return builder
         * 
         */
        public Builder login(String login) {
            return login(Output.of(login));
        }

        /**
         * @param password User's password.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password User's password.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param passwordLastUpdate When the user changed his password for the last time.
         * 
         * @return builder
         * 
         */
        public Builder passwordLastUpdate(@Nullable Output passwordLastUpdate) {
            $.passwordLastUpdate = passwordLastUpdate;
            return this;
        }

        /**
         * @param passwordLastUpdate When the user changed his password for the last time.
         * 
         * @return builder
         * 
         */
        public Builder passwordLastUpdate(String passwordLastUpdate) {
            return passwordLastUpdate(Output.of(passwordLastUpdate));
        }

        /**
         * @param status Current user's status.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Current user's status.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public IdentityUserState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy