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

com.pulumi.aws.iot.outputs.TopicRuleErrorActionElasticsearch 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.66.3
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.iot.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class TopicRuleErrorActionElasticsearch {
    /**
     * @return The endpoint of your Elasticsearch domain.
     * 
     */
    private String endpoint;
    /**
     * @return The unique identifier for the document you are storing.
     * 
     */
    private String id;
    /**
     * @return The Elasticsearch index where you want to store your data.
     * 
     */
    private String index;
    /**
     * @return The IAM role ARN that has access to Elasticsearch.
     * 
     */
    private String roleArn;
    /**
     * @return The type of document you are storing.
     * 
     */
    private String type;

    private TopicRuleErrorActionElasticsearch() {}
    /**
     * @return The endpoint of your Elasticsearch domain.
     * 
     */
    public String endpoint() {
        return this.endpoint;
    }
    /**
     * @return The unique identifier for the document you are storing.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The Elasticsearch index where you want to store your data.
     * 
     */
    public String index() {
        return this.index;
    }
    /**
     * @return The IAM role ARN that has access to Elasticsearch.
     * 
     */
    public String roleArn() {
        return this.roleArn;
    }
    /**
     * @return The type of document you are storing.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(TopicRuleErrorActionElasticsearch defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String endpoint;
        private String id;
        private String index;
        private String roleArn;
        private String type;
        public Builder() {}
        public Builder(TopicRuleErrorActionElasticsearch defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endpoint = defaults.endpoint;
    	      this.id = defaults.id;
    	      this.index = defaults.index;
    	      this.roleArn = defaults.roleArn;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder endpoint(String endpoint) {
            if (endpoint == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionElasticsearch", "endpoint");
            }
            this.endpoint = endpoint;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionElasticsearch", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder index(String index) {
            if (index == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionElasticsearch", "index");
            }
            this.index = index;
            return this;
        }
        @CustomType.Setter
        public Builder roleArn(String roleArn) {
            if (roleArn == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionElasticsearch", "roleArn");
            }
            this.roleArn = roleArn;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionElasticsearch", "type");
            }
            this.type = type;
            return this;
        }
        public TopicRuleErrorActionElasticsearch build() {
            final var _resultValue = new TopicRuleErrorActionElasticsearch();
            _resultValue.endpoint = endpoint;
            _resultValue.id = id;
            _resultValue.index = index;
            _resultValue.roleArn = roleArn;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy