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

shiver.me.timbers.aws.kinesisfirehose.DeliveryStreamProcessingConfiguration Maven / Gradle / Ivy


package shiver.me.timbers.aws.kinesisfirehose;

import java.util.LinkedHashSet;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * DeliveryStreamProcessingConfiguration
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Enabled", "Processors" }) public class DeliveryStreamProcessingConfiguration implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-enabled * */ @JsonProperty("Enabled") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-enabled") private CharSequence enabled; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-processors * */ @JsonProperty("Processors") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-processors") private Set> processors = new LinkedHashSet>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-enabled * */ @JsonIgnore public CharSequence getEnabled() { return enabled; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-enabled * */ @JsonIgnore public void setEnabled(CharSequence enabled) { this.enabled = enabled; } public DeliveryStreamProcessingConfiguration withEnabled(CharSequence enabled) { this.enabled = enabled; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-processors * */ @JsonIgnore public Set> getProcessors() { return processors; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-processors * */ @JsonIgnore public void setProcessors(Set> processors) { this.processors = processors; } public DeliveryStreamProcessingConfiguration withProcessors(Set> processors) { this.processors = processors; return this; } @Override public String toString() { return new ToStringBuilder(this).append("enabled", enabled).append("processors", processors).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(enabled).append(processors).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof DeliveryStreamProcessingConfiguration) == false) { return false; } DeliveryStreamProcessingConfiguration rhs = ((DeliveryStreamProcessingConfiguration) other); return new EqualsBuilder().append(enabled, rhs.enabled).append(processors, rhs.processors).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy