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

com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs 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.kinesis.inputs;

import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorParameterArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs Empty = new FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs();

    /**
     * Specifies the processor parameters as multiple blocks. See `parameters` block below for details.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return Specifies the processor parameters as multiple blocks. See `parameters` block below for details.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * The type of processor. Valid Values: `RecordDeAggregation`, `Lambda`, `MetadataExtraction`, `AppendDelimiterToRecord`. Validation is done against [AWS SDK constants](https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/#pkg-constants); so that values not explicitly listed may also work.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The type of processor. Valid Values: `RecordDeAggregation`, `Lambda`, `MetadataExtraction`, `AppendDelimiterToRecord`. Validation is done against [AWS SDK constants](https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/#pkg-constants); so that values not explicitly listed may also work.
     * 
     */
    public Output type() {
        return this.type;
    }

    private FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs() {}

    private FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs(FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs $) {
        this.parameters = $.parameters;
        this.type = $.type;
    }

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

    public static final class Builder {
        private FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs $;

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

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

        /**
         * @param parameters Specifies the processor parameters as multiple blocks. See `parameters` block below for details.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Specifies the processor parameters as multiple blocks. See `parameters` block below for details.
         * 
         * @return builder
         * 
         */
        public Builder parameters(List parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param parameters Specifies the processor parameters as multiple blocks. See `parameters` block below for details.
         * 
         * @return builder
         * 
         */
        public Builder parameters(FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorParameterArgs... parameters) {
            return parameters(List.of(parameters));
        }

        /**
         * @param type The type of processor. Valid Values: `RecordDeAggregation`, `Lambda`, `MetadataExtraction`, `AppendDelimiterToRecord`. Validation is done against [AWS SDK constants](https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/#pkg-constants); so that values not explicitly listed may also work.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of processor. Valid Values: `RecordDeAggregation`, `Lambda`, `MetadataExtraction`, `AppendDelimiterToRecord`. Validation is done against [AWS SDK constants](https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/#pkg-constants); so that values not explicitly listed may also work.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy