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

com.pulumi.aws.quicksight.inputs.DataSourceParametersAmazonElasticsearchArgs 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.quicksight.inputs;

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 DataSourceParametersAmazonElasticsearchArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataSourceParametersAmazonElasticsearchArgs Empty = new DataSourceParametersAmazonElasticsearchArgs();

    /**
     * The OpenSearch domain.
     * 
     */
    @Import(name="domain", required=true)
    private Output domain;

    /**
     * @return The OpenSearch domain.
     * 
     */
    public Output domain() {
        return this.domain;
    }

    private DataSourceParametersAmazonElasticsearchArgs() {}

    private DataSourceParametersAmazonElasticsearchArgs(DataSourceParametersAmazonElasticsearchArgs $) {
        this.domain = $.domain;
    }

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

    public static final class Builder {
        private DataSourceParametersAmazonElasticsearchArgs $;

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

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

        /**
         * @param domain The OpenSearch domain.
         * 
         * @return builder
         * 
         */
        public Builder domain(Output domain) {
            $.domain = domain;
            return this;
        }

        /**
         * @param domain The OpenSearch domain.
         * 
         * @return builder
         * 
         */
        public Builder domain(String domain) {
            return domain(Output.of(domain));
        }

        public DataSourceParametersAmazonElasticsearchArgs build() {
            if ($.domain == null) {
                throw new MissingRequiredPropertyException("DataSourceParametersAmazonElasticsearchArgs", "domain");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy