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

shiver.me.timbers.aws.msk.ClusterFirehose Maven / Gradle / Ivy


package shiver.me.timbers.aws.msk;

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 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;


/**
 * ClusterFirehose
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "DeliveryStream", "Enabled" }) public class ClusterFirehose implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-deliverystream * */ @JsonProperty("DeliveryStream") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-deliverystream") private CharSequence deliveryStream; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-enabled * */ @JsonProperty("Enabled") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-enabled") private CharSequence enabled; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-deliverystream * */ @JsonIgnore public CharSequence getDeliveryStream() { return deliveryStream; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-deliverystream * */ @JsonIgnore public void setDeliveryStream(CharSequence deliveryStream) { this.deliveryStream = deliveryStream; } public ClusterFirehose withDeliveryStream(CharSequence deliveryStream) { this.deliveryStream = deliveryStream; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-enabled * */ @JsonIgnore public CharSequence getEnabled() { return enabled; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-enabled * */ @JsonIgnore public void setEnabled(CharSequence enabled) { this.enabled = enabled; } public ClusterFirehose withEnabled(CharSequence enabled) { this.enabled = enabled; return this; } @Override public String toString() { return new ToStringBuilder(this).append("deliveryStream", deliveryStream).append("enabled", enabled).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(enabled).append(deliveryStream).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ClusterFirehose) == false) { return false; } ClusterFirehose rhs = ((ClusterFirehose) other); return new EqualsBuilder().append(enabled, rhs.enabled).append(deliveryStream, rhs.deliveryStream).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy