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

com.pulumi.aws.ssoadmin.ApplicationArgs 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.ssoadmin;

import com.pulumi.aws.ssoadmin.inputs.ApplicationPortalOptionsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApplicationArgs Empty = new ApplicationArgs();

    /**
     * ARN of the application provider.
     * 
     */
    @Import(name="applicationProviderArn", required=true)
    private Output applicationProviderArn;

    /**
     * @return ARN of the application provider.
     * 
     */
    public Output applicationProviderArn() {
        return this.applicationProviderArn;
    }

    /**
     * A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
     * 
     */
    @Import(name="clientToken")
    private @Nullable Output clientToken;

    /**
     * @return A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
     * 
     */
    public Optional> clientToken() {
        return Optional.ofNullable(this.clientToken);
    }

    /**
     * Description of the application.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the application.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * ARN of the instance of IAM Identity Center.
     * 
     */
    @Import(name="instanceArn", required=true)
    private Output instanceArn;

    /**
     * @return ARN of the instance of IAM Identity Center.
     * 
     */
    public Output instanceArn() {
        return this.instanceArn;
    }

    /**
     * Name of the application.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the application.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Options for the portal associated with an application. See `portal_options` below.
     * 
     */
    @Import(name="portalOptions")
    private @Nullable Output portalOptions;

    /**
     * @return Options for the portal associated with an application. See `portal_options` below.
     * 
     */
    public Optional> portalOptions() {
        return Optional.ofNullable(this.portalOptions);
    }

    /**
     * Status of the application. Valid values are `ENABLED` and `DISABLED`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Status of the application. Valid values are `ENABLED` and `DISABLED`.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Key-value mapping of resource tags. 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 Key-value mapping of resource tags. 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);
    }

    private ApplicationArgs() {}

    private ApplicationArgs(ApplicationArgs $) {
        this.applicationProviderArn = $.applicationProviderArn;
        this.clientToken = $.clientToken;
        this.description = $.description;
        this.instanceArn = $.instanceArn;
        this.name = $.name;
        this.portalOptions = $.portalOptions;
        this.status = $.status;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ApplicationArgs $;

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

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

        /**
         * @param applicationProviderArn ARN of the application provider.
         * 
         * @return builder
         * 
         */
        public Builder applicationProviderArn(Output applicationProviderArn) {
            $.applicationProviderArn = applicationProviderArn;
            return this;
        }

        /**
         * @param applicationProviderArn ARN of the application provider.
         * 
         * @return builder
         * 
         */
        public Builder applicationProviderArn(String applicationProviderArn) {
            return applicationProviderArn(Output.of(applicationProviderArn));
        }

        /**
         * @param clientToken A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
         * 
         * @return builder
         * 
         */
        public Builder clientToken(@Nullable Output clientToken) {
            $.clientToken = clientToken;
            return this;
        }

        /**
         * @param clientToken A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
         * 
         * @return builder
         * 
         */
        public Builder clientToken(String clientToken) {
            return clientToken(Output.of(clientToken));
        }

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

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

        /**
         * @param instanceArn ARN of the instance of IAM Identity Center.
         * 
         * @return builder
         * 
         */
        public Builder instanceArn(Output instanceArn) {
            $.instanceArn = instanceArn;
            return this;
        }

        /**
         * @param instanceArn ARN of the instance of IAM Identity Center.
         * 
         * @return builder
         * 
         */
        public Builder instanceArn(String instanceArn) {
            return instanceArn(Output.of(instanceArn));
        }

        /**
         * @param name Name of the application.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the application.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param portalOptions Options for the portal associated with an application. See `portal_options` below.
         * 
         * @return builder
         * 
         */
        public Builder portalOptions(@Nullable Output portalOptions) {
            $.portalOptions = portalOptions;
            return this;
        }

        /**
         * @param portalOptions Options for the portal associated with an application. See `portal_options` below.
         * 
         * @return builder
         * 
         */
        public Builder portalOptions(ApplicationPortalOptionsArgs portalOptions) {
            return portalOptions(Output.of(portalOptions));
        }

        /**
         * @param status Status of the application. Valid values are `ENABLED` and `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of the application. Valid values are `ENABLED` and `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param tags Key-value mapping of resource tags. 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 Key-value mapping of resource tags. 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));
        }

        public ApplicationArgs build() {
            if ($.applicationProviderArn == null) {
                throw new MissingRequiredPropertyException("ApplicationArgs", "applicationProviderArn");
            }
            if ($.instanceArn == null) {
                throw new MissingRequiredPropertyException("ApplicationArgs", "instanceArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy