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

com.pulumi.aws.datazone.UserProfileArgs 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.72.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.aws.datazone;

import com.pulumi.aws.datazone.inputs.UserProfileTimeoutsArgs;
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 UserProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final UserProfileArgs Empty = new UserProfileArgs();

    /**
     * The domain identifier.
     * 
     */
    @Import(name="domainIdentifier", required=true)
    private Output domainIdentifier;

    /**
     * @return The domain identifier.
     * 
     */
    public Output domainIdentifier() {
        return this.domainIdentifier;
    }

    /**
     * The user profile status.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The user profile status.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    @Import(name="timeouts")
    private @Nullable Output timeouts;

    public Optional> timeouts() {
        return Optional.ofNullable(this.timeouts);
    }

    /**
     * The user identifier.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="userIdentifier", required=true)
    private Output userIdentifier;

    /**
     * @return The user identifier.
     * 
     * The following arguments are optional:
     * 
     */
    public Output userIdentifier() {
        return this.userIdentifier;
    }

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

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

    private UserProfileArgs() {}

    private UserProfileArgs(UserProfileArgs $) {
        this.domainIdentifier = $.domainIdentifier;
        this.status = $.status;
        this.timeouts = $.timeouts;
        this.userIdentifier = $.userIdentifier;
        this.userType = $.userType;
    }

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

    public static final class Builder {
        private UserProfileArgs $;

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

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

        /**
         * @param domainIdentifier The domain identifier.
         * 
         * @return builder
         * 
         */
        public Builder domainIdentifier(Output domainIdentifier) {
            $.domainIdentifier = domainIdentifier;
            return this;
        }

        /**
         * @param domainIdentifier The domain identifier.
         * 
         * @return builder
         * 
         */
        public Builder domainIdentifier(String domainIdentifier) {
            return domainIdentifier(Output.of(domainIdentifier));
        }

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

        /**
         * @param status The user profile status.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public Builder timeouts(@Nullable Output timeouts) {
            $.timeouts = timeouts;
            return this;
        }

        public Builder timeouts(UserProfileTimeoutsArgs timeouts) {
            return timeouts(Output.of(timeouts));
        }

        /**
         * @param userIdentifier The user identifier.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder userIdentifier(Output userIdentifier) {
            $.userIdentifier = userIdentifier;
            return this;
        }

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

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

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

        public UserProfileArgs build() {
            if ($.domainIdentifier == null) {
                throw new MissingRequiredPropertyException("UserProfileArgs", "domainIdentifier");
            }
            if ($.userIdentifier == null) {
                throw new MissingRequiredPropertyException("UserProfileArgs", "userIdentifier");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy