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

com.pulumi.aws.iot.outputs.TopicRuleErrorActionFirehose 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.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TopicRuleErrorActionFirehose {
    /**
     * @return The payload that contains a JSON array of records will be sent to Kinesis Firehose via a batch call.
     * 
     */
    private @Nullable Boolean batchMode;
    /**
     * @return The delivery stream name.
     * 
     */
    private String deliveryStreamName;
    /**
     * @return The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
     * 
     */
    private String roleArn;
    /**
     * @return A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
     * 
     */
    private @Nullable String separator;

    private TopicRuleErrorActionFirehose() {}
    /**
     * @return The payload that contains a JSON array of records will be sent to Kinesis Firehose via a batch call.
     * 
     */
    public Optional batchMode() {
        return Optional.ofNullable(this.batchMode);
    }
    /**
     * @return The delivery stream name.
     * 
     */
    public String deliveryStreamName() {
        return this.deliveryStreamName;
    }
    /**
     * @return The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
     * 
     */
    public String roleArn() {
        return this.roleArn;
    }
    /**
     * @return A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
     * 
     */
    public Optional separator() {
        return Optional.ofNullable(this.separator);
    }

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

    public static Builder builder(TopicRuleErrorActionFirehose defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean batchMode;
        private String deliveryStreamName;
        private String roleArn;
        private @Nullable String separator;
        public Builder() {}
        public Builder(TopicRuleErrorActionFirehose defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.batchMode = defaults.batchMode;
    	      this.deliveryStreamName = defaults.deliveryStreamName;
    	      this.roleArn = defaults.roleArn;
    	      this.separator = defaults.separator;
        }

        @CustomType.Setter
        public Builder batchMode(@Nullable Boolean batchMode) {

            this.batchMode = batchMode;
            return this;
        }
        @CustomType.Setter
        public Builder deliveryStreamName(String deliveryStreamName) {
            if (deliveryStreamName == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionFirehose", "deliveryStreamName");
            }
            this.deliveryStreamName = deliveryStreamName;
            return this;
        }
        @CustomType.Setter
        public Builder roleArn(String roleArn) {
            if (roleArn == null) {
              throw new MissingRequiredPropertyException("TopicRuleErrorActionFirehose", "roleArn");
            }
            this.roleArn = roleArn;
            return this;
        }
        @CustomType.Setter
        public Builder separator(@Nullable String separator) {

            this.separator = separator;
            return this;
        }
        public TopicRuleErrorActionFirehose build() {
            final var _resultValue = new TopicRuleErrorActionFirehose();
            _resultValue.batchMode = batchMode;
            _resultValue.deliveryStreamName = deliveryStreamName;
            _resultValue.roleArn = roleArn;
            _resultValue.separator = separator;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy