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

com.pulumi.aws.pipes.outputs.PipeEnrichmentParameters 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.pipes.outputs;

import com.pulumi.aws.pipes.outputs.PipeEnrichmentParametersHttpParameters;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PipeEnrichmentParameters {
    /**
     * @return Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination. If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence. Detailed below.
     * 
     */
    private @Nullable PipeEnrichmentParametersHttpParameters httpParameters;
    /**
     * @return Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. Maximum length of 8192 characters.
     * 
     */
    private @Nullable String inputTemplate;

    private PipeEnrichmentParameters() {}
    /**
     * @return Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination. If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence. Detailed below.
     * 
     */
    public Optional httpParameters() {
        return Optional.ofNullable(this.httpParameters);
    }
    /**
     * @return Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. Maximum length of 8192 characters.
     * 
     */
    public Optional inputTemplate() {
        return Optional.ofNullable(this.inputTemplate);
    }

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

    public static Builder builder(PipeEnrichmentParameters defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable PipeEnrichmentParametersHttpParameters httpParameters;
        private @Nullable String inputTemplate;
        public Builder() {}
        public Builder(PipeEnrichmentParameters defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.httpParameters = defaults.httpParameters;
    	      this.inputTemplate = defaults.inputTemplate;
        }

        @CustomType.Setter
        public Builder httpParameters(@Nullable PipeEnrichmentParametersHttpParameters httpParameters) {

            this.httpParameters = httpParameters;
            return this;
        }
        @CustomType.Setter
        public Builder inputTemplate(@Nullable String inputTemplate) {

            this.inputTemplate = inputTemplate;
            return this;
        }
        public PipeEnrichmentParameters build() {
            final var _resultValue = new PipeEnrichmentParameters();
            _resultValue.httpParameters = httpParameters;
            _resultValue.inputTemplate = inputTemplate;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy