shiver.me.timbers.aws.kinesisanalytics.ApplicationOutput Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.kinesisanalytics;
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;
/**
* ApplicationOutput
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"ApplicationName",
"Output"
})
public class ApplicationOutput {
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-applicationname
*
*/
@JsonProperty("ApplicationName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-applicationname")
private CharSequence applicationName;
/**
* ApplicationOutputKinesisFirehoseOutput
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html
*
*/
@JsonProperty("Output")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html")
private Property output;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-applicationname
*
*/
@JsonIgnore
public CharSequence getApplicationName() {
return applicationName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-applicationname
*
*/
@JsonIgnore
public void setApplicationName(CharSequence applicationName) {
this.applicationName = applicationName;
}
public ApplicationOutput withApplicationName(CharSequence applicationName) {
this.applicationName = applicationName;
return this;
}
/**
* ApplicationOutputKinesisFirehoseOutput
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html
*
*/
@JsonIgnore
public Property getOutput() {
return output;
}
/**
* ApplicationOutputKinesisFirehoseOutput
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html
*
*/
@JsonIgnore
public void setOutput(Property output) {
this.output = output;
}
public ApplicationOutput withOutput(Property output) {
this.output = output;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("applicationName", applicationName).append("output", output).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(output).append(applicationName).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ApplicationOutput) == false) {
return false;
}
ApplicationOutput rhs = ((ApplicationOutput) other);
return new EqualsBuilder().append(output, rhs.output).append(applicationName, rhs.applicationName).isEquals();
}
}