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

com.pulumi.aws.cognito.inputs.UserPoolUICustomizationState 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.cognito.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 UserPoolUICustomizationState extends com.pulumi.resources.ResourceArgs {

    public static final UserPoolUICustomizationState Empty = new UserPoolUICustomizationState();

    /**
     * The client ID for the client app. Defaults to `ALL`. If `ALL` is specified, the `css` and/or `image_file` settings will be used for every client that has no UI customization set previously.
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return The client ID for the client app. Defaults to `ALL`. If `ALL` is specified, the `css` and/or `image_file` settings will be used for every client that has no UI customization set previously.
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * The creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
     * 
     */
    @Import(name="creationDate")
    private @Nullable Output creationDate;

    /**
     * @return The creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
     * 
     */
    public Optional> creationDate() {
        return Optional.ofNullable(this.creationDate);
    }

    /**
     * The CSS values in the UI customization, provided as a String. At least one of `css` or `image_file` is required.
     * 
     */
    @Import(name="css")
    private @Nullable Output css;

    /**
     * @return The CSS values in the UI customization, provided as a String. At least one of `css` or `image_file` is required.
     * 
     */
    public Optional> css() {
        return Optional.ofNullable(this.css);
    }

    /**
     * The CSS version number.
     * 
     */
    @Import(name="cssVersion")
    private @Nullable Output cssVersion;

    /**
     * @return The CSS version number.
     * 
     */
    public Optional> cssVersion() {
        return Optional.ofNullable(this.cssVersion);
    }

    /**
     * The uploaded logo image for the UI customization, provided as a base64-encoded String. Drift detection is not possible for this argument. At least one of `css` or `image_file` is required.
     * 
     */
    @Import(name="imageFile")
    private @Nullable Output imageFile;

    /**
     * @return The uploaded logo image for the UI customization, provided as a base64-encoded String. Drift detection is not possible for this argument. At least one of `css` or `image_file` is required.
     * 
     */
    public Optional> imageFile() {
        return Optional.ofNullable(this.imageFile);
    }

    /**
     * The logo image URL for the UI customization.
     * 
     */
    @Import(name="imageUrl")
    private @Nullable Output imageUrl;

    /**
     * @return The logo image URL for the UI customization.
     * 
     */
    public Optional> imageUrl() {
        return Optional.ofNullable(this.imageUrl);
    }

    /**
     * The last-modified date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
     * 
     */
    @Import(name="lastModifiedDate")
    private @Nullable Output lastModifiedDate;

    /**
     * @return The last-modified date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
     * 
     */
    public Optional> lastModifiedDate() {
        return Optional.ofNullable(this.lastModifiedDate);
    }

    /**
     * The user pool ID for the user pool.
     * 
     */
    @Import(name="userPoolId")
    private @Nullable Output userPoolId;

    /**
     * @return The user pool ID for the user pool.
     * 
     */
    public Optional> userPoolId() {
        return Optional.ofNullable(this.userPoolId);
    }

    private UserPoolUICustomizationState() {}

    private UserPoolUICustomizationState(UserPoolUICustomizationState $) {
        this.clientId = $.clientId;
        this.creationDate = $.creationDate;
        this.css = $.css;
        this.cssVersion = $.cssVersion;
        this.imageFile = $.imageFile;
        this.imageUrl = $.imageUrl;
        this.lastModifiedDate = $.lastModifiedDate;
        this.userPoolId = $.userPoolId;
    }

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

    public static final class Builder {
        private UserPoolUICustomizationState $;

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

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

        /**
         * @param clientId The client ID for the client app. Defaults to `ALL`. If `ALL` is specified, the `css` and/or `image_file` settings will be used for every client that has no UI customization set previously.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The client ID for the client app. Defaults to `ALL`. If `ALL` is specified, the `css` and/or `image_file` settings will be used for every client that has no UI customization set previously.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param creationDate The creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
         * 
         * @return builder
         * 
         */
        public Builder creationDate(@Nullable Output creationDate) {
            $.creationDate = creationDate;
            return this;
        }

        /**
         * @param creationDate The creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
         * 
         * @return builder
         * 
         */
        public Builder creationDate(String creationDate) {
            return creationDate(Output.of(creationDate));
        }

        /**
         * @param css The CSS values in the UI customization, provided as a String. At least one of `css` or `image_file` is required.
         * 
         * @return builder
         * 
         */
        public Builder css(@Nullable Output css) {
            $.css = css;
            return this;
        }

        /**
         * @param css The CSS values in the UI customization, provided as a String. At least one of `css` or `image_file` is required.
         * 
         * @return builder
         * 
         */
        public Builder css(String css) {
            return css(Output.of(css));
        }

        /**
         * @param cssVersion The CSS version number.
         * 
         * @return builder
         * 
         */
        public Builder cssVersion(@Nullable Output cssVersion) {
            $.cssVersion = cssVersion;
            return this;
        }

        /**
         * @param cssVersion The CSS version number.
         * 
         * @return builder
         * 
         */
        public Builder cssVersion(String cssVersion) {
            return cssVersion(Output.of(cssVersion));
        }

        /**
         * @param imageFile The uploaded logo image for the UI customization, provided as a base64-encoded String. Drift detection is not possible for this argument. At least one of `css` or `image_file` is required.
         * 
         * @return builder
         * 
         */
        public Builder imageFile(@Nullable Output imageFile) {
            $.imageFile = imageFile;
            return this;
        }

        /**
         * @param imageFile The uploaded logo image for the UI customization, provided as a base64-encoded String. Drift detection is not possible for this argument. At least one of `css` or `image_file` is required.
         * 
         * @return builder
         * 
         */
        public Builder imageFile(String imageFile) {
            return imageFile(Output.of(imageFile));
        }

        /**
         * @param imageUrl The logo image URL for the UI customization.
         * 
         * @return builder
         * 
         */
        public Builder imageUrl(@Nullable Output imageUrl) {
            $.imageUrl = imageUrl;
            return this;
        }

        /**
         * @param imageUrl The logo image URL for the UI customization.
         * 
         * @return builder
         * 
         */
        public Builder imageUrl(String imageUrl) {
            return imageUrl(Output.of(imageUrl));
        }

        /**
         * @param lastModifiedDate The last-modified date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
         * 
         * @return builder
         * 
         */
        public Builder lastModifiedDate(@Nullable Output lastModifiedDate) {
            $.lastModifiedDate = lastModifiedDate;
            return this;
        }

        /**
         * @param lastModifiedDate The last-modified date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) for the UI customization.
         * 
         * @return builder
         * 
         */
        public Builder lastModifiedDate(String lastModifiedDate) {
            return lastModifiedDate(Output.of(lastModifiedDate));
        }

        /**
         * @param userPoolId The user pool ID for the user pool.
         * 
         * @return builder
         * 
         */
        public Builder userPoolId(@Nullable Output userPoolId) {
            $.userPoolId = userPoolId;
            return this;
        }

        /**
         * @param userPoolId The user pool ID for the user pool.
         * 
         * @return builder
         * 
         */
        public Builder userPoolId(String userPoolId) {
            return userPoolId(Output.of(userPoolId));
        }

        public UserPoolUICustomizationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy