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

com.pulumi.aws.sagemaker.inputs.UserProfileState 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.66.3
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.sagemaker.inputs;

import com.pulumi.aws.sagemaker.inputs.UserProfileUserSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final UserProfileState Empty = new UserProfileState();

    /**
     * The user profile Amazon Resource Name (ARN).
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The user profile Amazon Resource Name (ARN).
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The ID of the associated Domain.
     * 
     */
    @Import(name="domainId")
    private @Nullable Output domainId;

    /**
     * @return The ID of the associated Domain.
     * 
     */
    public Optional> domainId() {
        return Optional.ofNullable(this.domainId);
    }

    /**
     * The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
     * 
     */
    @Import(name="homeEfsFileSystemUid")
    private @Nullable Output homeEfsFileSystemUid;

    /**
     * @return The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
     * 
     */
    public Optional> homeEfsFileSystemUid() {
        return Optional.ofNullable(this.homeEfsFileSystemUid);
    }

    /**
     * A specifier for the type of value specified in `single_sign_on_user_value`. Currently, the only supported value is `UserName`. If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified.
     * 
     */
    @Import(name="singleSignOnUserIdentifier")
    private @Nullable Output singleSignOnUserIdentifier;

    /**
     * @return A specifier for the type of value specified in `single_sign_on_user_value`. Currently, the only supported value is `UserName`. If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified.
     * 
     */
    public Optional> singleSignOnUserIdentifier() {
        return Optional.ofNullable(this.singleSignOnUserIdentifier);
    }

    /**
     * The username of the associated AWS Single Sign-On User for this User Profile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified.
     * 
     */
    @Import(name="singleSignOnUserValue")
    private @Nullable Output singleSignOnUserValue;

    /**
     * @return The username of the associated AWS Single Sign-On User for this User Profile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified.
     * 
     */
    public Optional> singleSignOnUserValue() {
        return Optional.ofNullable(this.singleSignOnUserValue);
    }

    /**
     * A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * The name for the User Profile.
     * 
     */
    @Import(name="userProfileName")
    private @Nullable Output userProfileName;

    /**
     * @return The name for the User Profile.
     * 
     */
    public Optional> userProfileName() {
        return Optional.ofNullable(this.userProfileName);
    }

    /**
     * The user settings. See User Settings below.
     * 
     */
    @Import(name="userSettings")
    private @Nullable Output userSettings;

    /**
     * @return The user settings. See User Settings below.
     * 
     */
    public Optional> userSettings() {
        return Optional.ofNullable(this.userSettings);
    }

    private UserProfileState() {}

    private UserProfileState(UserProfileState $) {
        this.arn = $.arn;
        this.domainId = $.domainId;
        this.homeEfsFileSystemUid = $.homeEfsFileSystemUid;
        this.singleSignOnUserIdentifier = $.singleSignOnUserIdentifier;
        this.singleSignOnUserValue = $.singleSignOnUserValue;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.userProfileName = $.userProfileName;
        this.userSettings = $.userSettings;
    }

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

    public static final class Builder {
        private UserProfileState $;

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

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

        /**
         * @param arn The user profile Amazon Resource Name (ARN).
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The user profile Amazon Resource Name (ARN).
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param domainId The ID of the associated Domain.
         * 
         * @return builder
         * 
         */
        public Builder domainId(@Nullable Output domainId) {
            $.domainId = domainId;
            return this;
        }

        /**
         * @param domainId The ID of the associated Domain.
         * 
         * @return builder
         * 
         */
        public Builder domainId(String domainId) {
            return domainId(Output.of(domainId));
        }

        /**
         * @param homeEfsFileSystemUid The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
         * 
         * @return builder
         * 
         */
        public Builder homeEfsFileSystemUid(@Nullable Output homeEfsFileSystemUid) {
            $.homeEfsFileSystemUid = homeEfsFileSystemUid;
            return this;
        }

        /**
         * @param homeEfsFileSystemUid The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
         * 
         * @return builder
         * 
         */
        public Builder homeEfsFileSystemUid(String homeEfsFileSystemUid) {
            return homeEfsFileSystemUid(Output.of(homeEfsFileSystemUid));
        }

        /**
         * @param singleSignOnUserIdentifier A specifier for the type of value specified in `single_sign_on_user_value`. Currently, the only supported value is `UserName`. If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified.
         * 
         * @return builder
         * 
         */
        public Builder singleSignOnUserIdentifier(@Nullable Output singleSignOnUserIdentifier) {
            $.singleSignOnUserIdentifier = singleSignOnUserIdentifier;
            return this;
        }

        /**
         * @param singleSignOnUserIdentifier A specifier for the type of value specified in `single_sign_on_user_value`. Currently, the only supported value is `UserName`. If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified.
         * 
         * @return builder
         * 
         */
        public Builder singleSignOnUserIdentifier(String singleSignOnUserIdentifier) {
            return singleSignOnUserIdentifier(Output.of(singleSignOnUserIdentifier));
        }

        /**
         * @param singleSignOnUserValue The username of the associated AWS Single Sign-On User for this User Profile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified.
         * 
         * @return builder
         * 
         */
        public Builder singleSignOnUserValue(@Nullable Output singleSignOnUserValue) {
            $.singleSignOnUserValue = singleSignOnUserValue;
            return this;
        }

        /**
         * @param singleSignOnUserValue The username of the associated AWS Single Sign-On User for this User Profile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified.
         * 
         * @return builder
         * 
         */
        public Builder singleSignOnUserValue(String singleSignOnUserValue) {
            return singleSignOnUserValue(Output.of(singleSignOnUserValue));
        }

        /**
         * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param userProfileName The name for the User Profile.
         * 
         * @return builder
         * 
         */
        public Builder userProfileName(@Nullable Output userProfileName) {
            $.userProfileName = userProfileName;
            return this;
        }

        /**
         * @param userProfileName The name for the User Profile.
         * 
         * @return builder
         * 
         */
        public Builder userProfileName(String userProfileName) {
            return userProfileName(Output.of(userProfileName));
        }

        /**
         * @param userSettings The user settings. See User Settings below.
         * 
         * @return builder
         * 
         */
        public Builder userSettings(@Nullable Output userSettings) {
            $.userSettings = userSettings;
            return this;
        }

        /**
         * @param userSettings The user settings. See User Settings below.
         * 
         * @return builder
         * 
         */
        public Builder userSettings(UserProfileUserSettingsArgs userSettings) {
            return userSettings(Output.of(userSettings));
        }

        public UserProfileState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy