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

com.pulumi.aws.elasticsearch.outputs.GetDomainResult 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.elasticsearch.outputs;

import com.pulumi.aws.elasticsearch.outputs.GetDomainAdvancedSecurityOption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainAutoTuneOption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainClusterConfig;
import com.pulumi.aws.elasticsearch.outputs.GetDomainCognitoOption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainEbsOption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainEncryptionAtRest;
import com.pulumi.aws.elasticsearch.outputs.GetDomainLogPublishingOption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainNodeToNodeEncryption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainSnapshotOption;
import com.pulumi.aws.elasticsearch.outputs.GetDomainVpcOption;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetDomainResult {
    /**
     * @return The policy document attached to the domain.
     * 
     */
    private String accessPolicies;
    /**
     * @return Key-value string pairs to specify advanced configuration options.
     * 
     */
    private Map advancedOptions;
    /**
     * @return Status of the Elasticsearch domain's advanced security options. The block consists of the following attributes:
     * 
     */
    private List advancedSecurityOptions;
    /**
     * @return The ARN of the domain.
     * 
     */
    private String arn;
    /**
     * @return Configuration of the Auto-Tune options of the domain.
     * 
     */
    private List autoTuneOptions;
    /**
     * @return Cluster configuration of the domain.
     * 
     */
    private List clusterConfigs;
    /**
     * @return Domain Amazon Cognito Authentication options for Kibana.
     * 
     */
    private List cognitoOptions;
    /**
     * @return Status of the creation of the domain.
     * 
     */
    private Boolean created;
    /**
     * @return Status of the deletion of the domain.
     * 
     */
    private Boolean deleted;
    /**
     * @return Unique identifier for the domain.
     * 
     */
    private String domainId;
    private String domainName;
    /**
     * @return EBS Options for the instances in the domain.
     * 
     */
    private List ebsOptions;
    /**
     * @return Elasticsearch version for the domain.
     * 
     */
    private String elasticsearchVersion;
    /**
     * @return Domain encryption at rest related options.
     * 
     */
    private List encryptionAtRests;
    /**
     * @return Domain-specific endpoint used to submit index, search, and data upload requests.
     * 
     */
    private String endpoint;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Domain-specific endpoint used to access the Kibana application.
     * 
     */
    private String kibanaEndpoint;
    /**
     * @return Domain log publishing related options.
     * 
     */
    private List logPublishingOptions;
    /**
     * @return Domain in transit encryption related options.
     * 
     */
    private List nodeToNodeEncryptions;
    /**
     * @return Status of a configuration change in the domain.
     * 
     */
    private Boolean processing;
    /**
     * @return Domain snapshot related options.
     * 
     */
    private List snapshotOptions;
    /**
     * @return Tags assigned to the domain.
     * 
     */
    private Map tags;
    /**
     * @return VPC Options for private Elasticsearch domains.
     * 
     */
    private List vpcOptions;

    private GetDomainResult() {}
    /**
     * @return The policy document attached to the domain.
     * 
     */
    public String accessPolicies() {
        return this.accessPolicies;
    }
    /**
     * @return Key-value string pairs to specify advanced configuration options.
     * 
     */
    public Map advancedOptions() {
        return this.advancedOptions;
    }
    /**
     * @return Status of the Elasticsearch domain's advanced security options. The block consists of the following attributes:
     * 
     */
    public List advancedSecurityOptions() {
        return this.advancedSecurityOptions;
    }
    /**
     * @return The ARN of the domain.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Configuration of the Auto-Tune options of the domain.
     * 
     */
    public List autoTuneOptions() {
        return this.autoTuneOptions;
    }
    /**
     * @return Cluster configuration of the domain.
     * 
     */
    public List clusterConfigs() {
        return this.clusterConfigs;
    }
    /**
     * @return Domain Amazon Cognito Authentication options for Kibana.
     * 
     */
    public List cognitoOptions() {
        return this.cognitoOptions;
    }
    /**
     * @return Status of the creation of the domain.
     * 
     */
    public Boolean created() {
        return this.created;
    }
    /**
     * @return Status of the deletion of the domain.
     * 
     */
    public Boolean deleted() {
        return this.deleted;
    }
    /**
     * @return Unique identifier for the domain.
     * 
     */
    public String domainId() {
        return this.domainId;
    }
    public String domainName() {
        return this.domainName;
    }
    /**
     * @return EBS Options for the instances in the domain.
     * 
     */
    public List ebsOptions() {
        return this.ebsOptions;
    }
    /**
     * @return Elasticsearch version for the domain.
     * 
     */
    public String elasticsearchVersion() {
        return this.elasticsearchVersion;
    }
    /**
     * @return Domain encryption at rest related options.
     * 
     */
    public List encryptionAtRests() {
        return this.encryptionAtRests;
    }
    /**
     * @return Domain-specific endpoint used to submit index, search, and data upload requests.
     * 
     */
    public String endpoint() {
        return this.endpoint;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Domain-specific endpoint used to access the Kibana application.
     * 
     */
    public String kibanaEndpoint() {
        return this.kibanaEndpoint;
    }
    /**
     * @return Domain log publishing related options.
     * 
     */
    public List logPublishingOptions() {
        return this.logPublishingOptions;
    }
    /**
     * @return Domain in transit encryption related options.
     * 
     */
    public List nodeToNodeEncryptions() {
        return this.nodeToNodeEncryptions;
    }
    /**
     * @return Status of a configuration change in the domain.
     * 
     */
    public Boolean processing() {
        return this.processing;
    }
    /**
     * @return Domain snapshot related options.
     * 
     */
    public List snapshotOptions() {
        return this.snapshotOptions;
    }
    /**
     * @return Tags assigned to the domain.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return VPC Options for private Elasticsearch domains.
     * 
     */
    public List vpcOptions() {
        return this.vpcOptions;
    }

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

    public static Builder builder(GetDomainResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accessPolicies;
        private Map advancedOptions;
        private List advancedSecurityOptions;
        private String arn;
        private List autoTuneOptions;
        private List clusterConfigs;
        private List cognitoOptions;
        private Boolean created;
        private Boolean deleted;
        private String domainId;
        private String domainName;
        private List ebsOptions;
        private String elasticsearchVersion;
        private List encryptionAtRests;
        private String endpoint;
        private String id;
        private String kibanaEndpoint;
        private List logPublishingOptions;
        private List nodeToNodeEncryptions;
        private Boolean processing;
        private List snapshotOptions;
        private Map tags;
        private List vpcOptions;
        public Builder() {}
        public Builder(GetDomainResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessPolicies = defaults.accessPolicies;
    	      this.advancedOptions = defaults.advancedOptions;
    	      this.advancedSecurityOptions = defaults.advancedSecurityOptions;
    	      this.arn = defaults.arn;
    	      this.autoTuneOptions = defaults.autoTuneOptions;
    	      this.clusterConfigs = defaults.clusterConfigs;
    	      this.cognitoOptions = defaults.cognitoOptions;
    	      this.created = defaults.created;
    	      this.deleted = defaults.deleted;
    	      this.domainId = defaults.domainId;
    	      this.domainName = defaults.domainName;
    	      this.ebsOptions = defaults.ebsOptions;
    	      this.elasticsearchVersion = defaults.elasticsearchVersion;
    	      this.encryptionAtRests = defaults.encryptionAtRests;
    	      this.endpoint = defaults.endpoint;
    	      this.id = defaults.id;
    	      this.kibanaEndpoint = defaults.kibanaEndpoint;
    	      this.logPublishingOptions = defaults.logPublishingOptions;
    	      this.nodeToNodeEncryptions = defaults.nodeToNodeEncryptions;
    	      this.processing = defaults.processing;
    	      this.snapshotOptions = defaults.snapshotOptions;
    	      this.tags = defaults.tags;
    	      this.vpcOptions = defaults.vpcOptions;
        }

        @CustomType.Setter
        public Builder accessPolicies(String accessPolicies) {
            if (accessPolicies == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "accessPolicies");
            }
            this.accessPolicies = accessPolicies;
            return this;
        }
        @CustomType.Setter
        public Builder advancedOptions(Map advancedOptions) {
            if (advancedOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "advancedOptions");
            }
            this.advancedOptions = advancedOptions;
            return this;
        }
        @CustomType.Setter
        public Builder advancedSecurityOptions(List advancedSecurityOptions) {
            if (advancedSecurityOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "advancedSecurityOptions");
            }
            this.advancedSecurityOptions = advancedSecurityOptions;
            return this;
        }
        public Builder advancedSecurityOptions(GetDomainAdvancedSecurityOption... advancedSecurityOptions) {
            return advancedSecurityOptions(List.of(advancedSecurityOptions));
        }
        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder autoTuneOptions(List autoTuneOptions) {
            if (autoTuneOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "autoTuneOptions");
            }
            this.autoTuneOptions = autoTuneOptions;
            return this;
        }
        public Builder autoTuneOptions(GetDomainAutoTuneOption... autoTuneOptions) {
            return autoTuneOptions(List.of(autoTuneOptions));
        }
        @CustomType.Setter
        public Builder clusterConfigs(List clusterConfigs) {
            if (clusterConfigs == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "clusterConfigs");
            }
            this.clusterConfigs = clusterConfigs;
            return this;
        }
        public Builder clusterConfigs(GetDomainClusterConfig... clusterConfigs) {
            return clusterConfigs(List.of(clusterConfigs));
        }
        @CustomType.Setter
        public Builder cognitoOptions(List cognitoOptions) {
            if (cognitoOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "cognitoOptions");
            }
            this.cognitoOptions = cognitoOptions;
            return this;
        }
        public Builder cognitoOptions(GetDomainCognitoOption... cognitoOptions) {
            return cognitoOptions(List.of(cognitoOptions));
        }
        @CustomType.Setter
        public Builder created(Boolean created) {
            if (created == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "created");
            }
            this.created = created;
            return this;
        }
        @CustomType.Setter
        public Builder deleted(Boolean deleted) {
            if (deleted == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "deleted");
            }
            this.deleted = deleted;
            return this;
        }
        @CustomType.Setter
        public Builder domainId(String domainId) {
            if (domainId == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "domainId");
            }
            this.domainId = domainId;
            return this;
        }
        @CustomType.Setter
        public Builder domainName(String domainName) {
            if (domainName == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "domainName");
            }
            this.domainName = domainName;
            return this;
        }
        @CustomType.Setter
        public Builder ebsOptions(List ebsOptions) {
            if (ebsOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "ebsOptions");
            }
            this.ebsOptions = ebsOptions;
            return this;
        }
        public Builder ebsOptions(GetDomainEbsOption... ebsOptions) {
            return ebsOptions(List.of(ebsOptions));
        }
        @CustomType.Setter
        public Builder elasticsearchVersion(String elasticsearchVersion) {
            if (elasticsearchVersion == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "elasticsearchVersion");
            }
            this.elasticsearchVersion = elasticsearchVersion;
            return this;
        }
        @CustomType.Setter
        public Builder encryptionAtRests(List encryptionAtRests) {
            if (encryptionAtRests == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "encryptionAtRests");
            }
            this.encryptionAtRests = encryptionAtRests;
            return this;
        }
        public Builder encryptionAtRests(GetDomainEncryptionAtRest... encryptionAtRests) {
            return encryptionAtRests(List.of(encryptionAtRests));
        }
        @CustomType.Setter
        public Builder endpoint(String endpoint) {
            if (endpoint == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "endpoint");
            }
            this.endpoint = endpoint;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder kibanaEndpoint(String kibanaEndpoint) {
            if (kibanaEndpoint == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "kibanaEndpoint");
            }
            this.kibanaEndpoint = kibanaEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder logPublishingOptions(List logPublishingOptions) {
            if (logPublishingOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "logPublishingOptions");
            }
            this.logPublishingOptions = logPublishingOptions;
            return this;
        }
        public Builder logPublishingOptions(GetDomainLogPublishingOption... logPublishingOptions) {
            return logPublishingOptions(List.of(logPublishingOptions));
        }
        @CustomType.Setter
        public Builder nodeToNodeEncryptions(List nodeToNodeEncryptions) {
            if (nodeToNodeEncryptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "nodeToNodeEncryptions");
            }
            this.nodeToNodeEncryptions = nodeToNodeEncryptions;
            return this;
        }
        public Builder nodeToNodeEncryptions(GetDomainNodeToNodeEncryption... nodeToNodeEncryptions) {
            return nodeToNodeEncryptions(List.of(nodeToNodeEncryptions));
        }
        @CustomType.Setter
        public Builder processing(Boolean processing) {
            if (processing == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "processing");
            }
            this.processing = processing;
            return this;
        }
        @CustomType.Setter
        public Builder snapshotOptions(List snapshotOptions) {
            if (snapshotOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "snapshotOptions");
            }
            this.snapshotOptions = snapshotOptions;
            return this;
        }
        public Builder snapshotOptions(GetDomainSnapshotOption... snapshotOptions) {
            return snapshotOptions(List.of(snapshotOptions));
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder vpcOptions(List vpcOptions) {
            if (vpcOptions == null) {
              throw new MissingRequiredPropertyException("GetDomainResult", "vpcOptions");
            }
            this.vpcOptions = vpcOptions;
            return this;
        }
        public Builder vpcOptions(GetDomainVpcOption... vpcOptions) {
            return vpcOptions(List.of(vpcOptions));
        }
        public GetDomainResult build() {
            final var _resultValue = new GetDomainResult();
            _resultValue.accessPolicies = accessPolicies;
            _resultValue.advancedOptions = advancedOptions;
            _resultValue.advancedSecurityOptions = advancedSecurityOptions;
            _resultValue.arn = arn;
            _resultValue.autoTuneOptions = autoTuneOptions;
            _resultValue.clusterConfigs = clusterConfigs;
            _resultValue.cognitoOptions = cognitoOptions;
            _resultValue.created = created;
            _resultValue.deleted = deleted;
            _resultValue.domainId = domainId;
            _resultValue.domainName = domainName;
            _resultValue.ebsOptions = ebsOptions;
            _resultValue.elasticsearchVersion = elasticsearchVersion;
            _resultValue.encryptionAtRests = encryptionAtRests;
            _resultValue.endpoint = endpoint;
            _resultValue.id = id;
            _resultValue.kibanaEndpoint = kibanaEndpoint;
            _resultValue.logPublishingOptions = logPublishingOptions;
            _resultValue.nodeToNodeEncryptions = nodeToNodeEncryptions;
            _resultValue.processing = processing;
            _resultValue.snapshotOptions = snapshotOptions;
            _resultValue.tags = tags;
            _resultValue.vpcOptions = vpcOptions;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy