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

com.pulumi.aws.opensearch.inputs.GetDomainPlainArgs 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.opensearch.inputs;

import com.pulumi.aws.opensearch.inputs.GetDomainOffPeakWindowOptions;
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 GetDomainPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDomainPlainArgs Empty = new GetDomainPlainArgs();

    /**
     * Name of the domain.
     * 
     */
    @Import(name="domainName", required=true)
    private String domainName;

    /**
     * @return Name of the domain.
     * 
     */
    public String domainName() {
        return this.domainName;
    }

    /**
     * Off Peak update options
     * 
     */
    @Import(name="offPeakWindowOptions")
    private @Nullable GetDomainOffPeakWindowOptions offPeakWindowOptions;

    /**
     * @return Off Peak update options
     * 
     */
    public Optional offPeakWindowOptions() {
        return Optional.ofNullable(this.offPeakWindowOptions);
    }

    /**
     * Tags assigned to the domain.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Tags assigned to the domain.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetDomainPlainArgs() {}

    private GetDomainPlainArgs(GetDomainPlainArgs $) {
        this.domainName = $.domainName;
        this.offPeakWindowOptions = $.offPeakWindowOptions;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetDomainPlainArgs $;

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

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

        /**
         * @param domainName Name of the domain.
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param offPeakWindowOptions Off Peak update options
         * 
         * @return builder
         * 
         */
        public Builder offPeakWindowOptions(@Nullable GetDomainOffPeakWindowOptions offPeakWindowOptions) {
            $.offPeakWindowOptions = offPeakWindowOptions;
            return this;
        }

        /**
         * @param tags Tags assigned to the domain.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy