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

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


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

    public static final DomainSamlOptionsSamlOptionsIdpArgs Empty = new DomainSamlOptionsSamlOptionsIdpArgs();

    /**
     * Unique Entity ID of the application in SAML Identity Provider.
     * 
     */
    @Import(name="entityId", required=true)
    private Output<String> entityId;

    /**
     * @return Unique Entity ID of the application in SAML Identity Provider.
     * 
     */
    public Output<String> entityId() {
        return this.entityId;
    }

    /**
     * Metadata of the SAML application in xml format.
     * 
     */
    @Import(name="metadataContent", required=true)
    private Output<String> metadataContent;

    /**
     * @return Metadata of the SAML application in xml format.
     * 
     */
    public Output<String> metadataContent() {
        return this.metadataContent;
    }

    private DomainSamlOptionsSamlOptionsIdpArgs() {}

    private DomainSamlOptionsSamlOptionsIdpArgs(DomainSamlOptionsSamlOptionsIdpArgs $) {
        this.entityId = $.entityId;
        this.metadataContent = $.metadataContent;
    }

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

    public static final class Builder {
        private DomainSamlOptionsSamlOptionsIdpArgs $;

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

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

        /**
         * @param entityId Unique Entity ID of the application in SAML Identity Provider.
         * 
         * @return builder
         * 
         */
        public Builder entityId(Output<String> entityId) {
            $.entityId = entityId;
            return this;
        }

        /**
         * @param entityId Unique Entity ID of the application in SAML Identity Provider.
         * 
         * @return builder
         * 
         */
        public Builder entityId(String entityId) {
            return entityId(Output.of(entityId));
        }

        /**
         * @param metadataContent Metadata of the SAML application in xml format.
         * 
         * @return builder
         * 
         */
        public Builder metadataContent(Output<String> metadataContent) {
            $.metadataContent = metadataContent;
            return this;
        }

        /**
         * @param metadataContent Metadata of the SAML application in xml format.
         * 
         * @return builder
         * 
         */
        public Builder metadataContent(String metadataContent) {
            return metadataContent(Output.of(metadataContent));
        }

        public DomainSamlOptionsSamlOptionsIdpArgs build() {
            $.entityId = Objects.requireNonNull($.entityId, "expected parameter 'entityId' to be non-null");
            $.metadataContent = Objects.requireNonNull($.metadataContent, "expected parameter 'metadataContent' to be non-null");
            return $;
        }
    }

}
