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

com.pulumi.aws.ssoadmin.inputs.GetApplicationProvidersApplicationProvider Maven / Gradle / Ivy

// *** 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.inputs;

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


public final class GetApplicationProvidersApplicationProvider extends com.pulumi.resources.InvokeArgs {

    public static final GetApplicationProvidersApplicationProvider Empty = new GetApplicationProvidersApplicationProvider();

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

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

    /**
     * An object describing how IAM Identity Center represents the application provider in the portal. See `display_data` below.
     * 
     */
    @Import(name="displayDatas")
    private @Nullable List displayDatas;

    /**
     * @return An object describing how IAM Identity Center represents the application provider in the portal. See `display_data` below.
     * 
     */
    public Optional> displayDatas() {
        return Optional.ofNullable(this.displayDatas);
    }

    /**
     * Protocol that the application provider uses to perform federation. Valid values are `SAML` and `OAUTH`.
     * 
     */
    @Import(name="federationProtocol", required=true)
    private String federationProtocol;

    /**
     * @return Protocol that the application provider uses to perform federation. Valid values are `SAML` and `OAUTH`.
     * 
     */
    public String federationProtocol() {
        return this.federationProtocol;
    }

    private GetApplicationProvidersApplicationProvider() {}

    private GetApplicationProvidersApplicationProvider(GetApplicationProvidersApplicationProvider $) {
        this.applicationProviderArn = $.applicationProviderArn;
        this.displayDatas = $.displayDatas;
        this.federationProtocol = $.federationProtocol;
    }

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

    public static final class Builder {
        private GetApplicationProvidersApplicationProvider $;

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

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

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

        /**
         * @param displayDatas An object describing how IAM Identity Center represents the application provider in the portal. See `display_data` below.
         * 
         * @return builder
         * 
         */
        public Builder displayDatas(@Nullable List displayDatas) {
            $.displayDatas = displayDatas;
            return this;
        }

        /**
         * @param displayDatas An object describing how IAM Identity Center represents the application provider in the portal. See `display_data` below.
         * 
         * @return builder
         * 
         */
        public Builder displayDatas(GetApplicationProvidersApplicationProviderDisplayData... displayDatas) {
            return displayDatas(List.of(displayDatas));
        }

        /**
         * @param federationProtocol Protocol that the application provider uses to perform federation. Valid values are `SAML` and `OAUTH`.
         * 
         * @return builder
         * 
         */
        public Builder federationProtocol(String federationProtocol) {
            $.federationProtocol = federationProtocol;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy