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

com.pulumi.okta.AppSamlAppSettingsArgs Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1732774005
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.okta;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final AppSamlAppSettingsArgs Empty = new AppSamlAppSettingsArgs();

    /**
     * ID of the application.
     * 
     */
    @Import(name="appId", required=true)
    private Output appId;

    /**
     * @return ID of the application.
     * 
     */
    public Output appId() {
        return this.appId;
    }

    /**
     * Application settings in JSON format
     * 
     */
    @Import(name="settings", required=true)
    private Output settings;

    /**
     * @return Application settings in JSON format
     * 
     */
    public Output settings() {
        return this.settings;
    }

    private AppSamlAppSettingsArgs() {}

    private AppSamlAppSettingsArgs(AppSamlAppSettingsArgs $) {
        this.appId = $.appId;
        this.settings = $.settings;
    }

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

    public static final class Builder {
        private AppSamlAppSettingsArgs $;

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

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

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

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

        /**
         * @param settings Application settings in JSON format
         * 
         * @return builder
         * 
         */
        public Builder settings(Output settings) {
            $.settings = settings;
            return this;
        }

        /**
         * @param settings Application settings in JSON format
         * 
         * @return builder
         * 
         */
        public Builder settings(String settings) {
            return settings(Output.of(settings));
        }

        public AppSamlAppSettingsArgs build() {
            if ($.appId == null) {
                throw new MissingRequiredPropertyException("AppSamlAppSettingsArgs", "appId");
            }
            if ($.settings == null) {
                throw new MissingRequiredPropertyException("AppSamlAppSettingsArgs", "settings");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy