shiver.me.timbers.aws.iotanalytics.DatasetTriggeringDataset Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.iotanalytics;
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;
/**
* DatasetTriggeringDataset
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"DatasetName"
})
public class DatasetTriggeringDataset implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html#cfn-iotanalytics-dataset-triggeringdataset-datasetname
*
*/
@JsonProperty("DatasetName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html#cfn-iotanalytics-dataset-triggeringdataset-datasetname")
private CharSequence datasetName;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html#cfn-iotanalytics-dataset-triggeringdataset-datasetname
*
*/
@JsonIgnore
public CharSequence getDatasetName() {
return datasetName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html#cfn-iotanalytics-dataset-triggeringdataset-datasetname
*
*/
@JsonIgnore
public void setDatasetName(CharSequence datasetName) {
this.datasetName = datasetName;
}
public DatasetTriggeringDataset withDatasetName(CharSequence datasetName) {
this.datasetName = datasetName;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("datasetName", datasetName).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(datasetName).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof DatasetTriggeringDataset) == false) {
return false;
}
DatasetTriggeringDataset rhs = ((DatasetTriggeringDataset) other);
return new EqualsBuilder().append(datasetName, rhs.datasetName).isEquals();
}
}