com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.outputs;
import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfigurationProcessor;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration {
/**
* @return Enables or disables data processing.
*
*/
private @Nullable Boolean enabled;
/**
* @return Specifies the data processors as multiple blocks. See `processors` block below for details.
*
*/
private @Nullable List processors;
private FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration() {}
/**
* @return Enables or disables data processing.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Specifies the data processors as multiple blocks. See `processors` block below for details.
*
*/
public List processors() {
return this.processors == null ? List.of() : this.processors;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable List processors;
public Builder() {}
public Builder(FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.processors = defaults.processors;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder processors(@Nullable List processors) {
this.processors = processors;
return this;
}
public Builder processors(FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfigurationProcessor... processors) {
return processors(List.of(processors));
}
public FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration build() {
final var _resultValue = new FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfiguration();
_resultValue.enabled = enabled;
_resultValue.processors = processors;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy