shiver.me.timbers.aws.kinesisfirehose.DeliveryStreamDataFormatConversionConfiguration Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.kinesisfirehose;
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;
/**
* DeliveryStreamDataFormatConversionConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"Enabled",
"InputFormatConfiguration",
"OutputFormatConfiguration",
"SchemaConfiguration"
})
public class DeliveryStreamDataFormatConversionConfiguration implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-enabled
*
*/
@JsonProperty("Enabled")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-enabled")
private CharSequence enabled;
/**
* DeliveryStreamInputFormatConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-inputformatconfiguration.html
*
*/
@JsonProperty("InputFormatConfiguration")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-inputformatconfiguration.html")
private Property inputFormatConfiguration;
/**
* DeliveryStreamOutputFormatConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-outputformatconfiguration.html
*
*/
@JsonProperty("OutputFormatConfiguration")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-outputformatconfiguration.html")
private Property outputFormatConfiguration;
/**
* DeliveryStreamSchemaConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html
*
*/
@JsonProperty("SchemaConfiguration")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html")
private Property schemaConfiguration;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-enabled
*
*/
@JsonIgnore
public CharSequence getEnabled() {
return enabled;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-enabled
*
*/
@JsonIgnore
public void setEnabled(CharSequence enabled) {
this.enabled = enabled;
}
public DeliveryStreamDataFormatConversionConfiguration withEnabled(CharSequence enabled) {
this.enabled = enabled;
return this;
}
/**
* DeliveryStreamInputFormatConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-inputformatconfiguration.html
*
*/
@JsonIgnore
public Property getInputFormatConfiguration() {
return inputFormatConfiguration;
}
/**
* DeliveryStreamInputFormatConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-inputformatconfiguration.html
*
*/
@JsonIgnore
public void setInputFormatConfiguration(Property inputFormatConfiguration) {
this.inputFormatConfiguration = inputFormatConfiguration;
}
public DeliveryStreamDataFormatConversionConfiguration withInputFormatConfiguration(Property inputFormatConfiguration) {
this.inputFormatConfiguration = inputFormatConfiguration;
return this;
}
/**
* DeliveryStreamOutputFormatConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-outputformatconfiguration.html
*
*/
@JsonIgnore
public Property getOutputFormatConfiguration() {
return outputFormatConfiguration;
}
/**
* DeliveryStreamOutputFormatConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-outputformatconfiguration.html
*
*/
@JsonIgnore
public void setOutputFormatConfiguration(Property outputFormatConfiguration) {
this.outputFormatConfiguration = outputFormatConfiguration;
}
public DeliveryStreamDataFormatConversionConfiguration withOutputFormatConfiguration(Property outputFormatConfiguration) {
this.outputFormatConfiguration = outputFormatConfiguration;
return this;
}
/**
* DeliveryStreamSchemaConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html
*
*/
@JsonIgnore
public Property getSchemaConfiguration() {
return schemaConfiguration;
}
/**
* DeliveryStreamSchemaConfiguration
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html
*
*/
@JsonIgnore
public void setSchemaConfiguration(Property schemaConfiguration) {
this.schemaConfiguration = schemaConfiguration;
}
public DeliveryStreamDataFormatConversionConfiguration withSchemaConfiguration(Property schemaConfiguration) {
this.schemaConfiguration = schemaConfiguration;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("enabled", enabled).append("inputFormatConfiguration", inputFormatConfiguration).append("outputFormatConfiguration", outputFormatConfiguration).append("schemaConfiguration", schemaConfiguration).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(inputFormatConfiguration).append(outputFormatConfiguration).append(enabled).append(schemaConfiguration).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof DeliveryStreamDataFormatConversionConfiguration) == false) {
return false;
}
DeliveryStreamDataFormatConversionConfiguration rhs = ((DeliveryStreamDataFormatConversionConfiguration) other);
return new EqualsBuilder().append(inputFormatConfiguration, rhs.inputFormatConfiguration).append(outputFormatConfiguration, rhs.outputFormatConfiguration).append(enabled, rhs.enabled).append(schemaConfiguration, rhs.schemaConfiguration).isEquals();
}
}