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

shiver.me.timbers.aws.iotanalytics.Dataset Maven / Gradle / Ivy


package shiver.me.timbers.aws.iotanalytics;

import java.util.ArrayList;
import java.util.List;
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;
import shiver.me.timbers.aws.Tag;


/**
 * Dataset
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Actions", "DatasetName", "ContentDeliveryRules", "Triggers", "VersioningConfiguration", "RetentionPeriod", "Tags" }) public class Dataset { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-actions * */ @JsonProperty("Actions") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-actions") private List> actions = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-datasetname * */ @JsonProperty("DatasetName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-datasetname") private CharSequence datasetName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-contentdeliveryrules * */ @JsonProperty("ContentDeliveryRules") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-contentdeliveryrules") private List> contentDeliveryRules = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-triggers * */ @JsonProperty("Triggers") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-triggers") private List> triggers = new ArrayList>(); /** * DatasetVersioningConfiguration *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html * */ @JsonProperty("VersioningConfiguration") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html") private Property versioningConfiguration; /** * DatasetRetentionPeriod *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html * */ @JsonProperty("RetentionPeriod") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html") private Property retentionPeriod; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-tags * */ @JsonProperty("Tags") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-tags") private List> tags = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-actions * */ @JsonIgnore public List> getActions() { return actions; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-actions * */ @JsonIgnore public void setActions(List> actions) { this.actions = actions; } public Dataset withActions(List> actions) { this.actions = actions; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-datasetname * */ @JsonIgnore public CharSequence getDatasetName() { return datasetName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-datasetname * */ @JsonIgnore public void setDatasetName(CharSequence datasetName) { this.datasetName = datasetName; } public Dataset withDatasetName(CharSequence datasetName) { this.datasetName = datasetName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-contentdeliveryrules * */ @JsonIgnore public List> getContentDeliveryRules() { return contentDeliveryRules; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-contentdeliveryrules * */ @JsonIgnore public void setContentDeliveryRules(List> contentDeliveryRules) { this.contentDeliveryRules = contentDeliveryRules; } public Dataset withContentDeliveryRules(List> contentDeliveryRules) { this.contentDeliveryRules = contentDeliveryRules; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-triggers * */ @JsonIgnore public List> getTriggers() { return triggers; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-triggers * */ @JsonIgnore public void setTriggers(List> triggers) { this.triggers = triggers; } public Dataset withTriggers(List> triggers) { this.triggers = triggers; return this; } /** * DatasetVersioningConfiguration *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html * */ @JsonIgnore public Property getVersioningConfiguration() { return versioningConfiguration; } /** * DatasetVersioningConfiguration *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html * */ @JsonIgnore public void setVersioningConfiguration(Property versioningConfiguration) { this.versioningConfiguration = versioningConfiguration; } public Dataset withVersioningConfiguration(Property versioningConfiguration) { this.versioningConfiguration = versioningConfiguration; return this; } /** * DatasetRetentionPeriod *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html * */ @JsonIgnore public Property getRetentionPeriod() { return retentionPeriod; } /** * DatasetRetentionPeriod *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html * */ @JsonIgnore public void setRetentionPeriod(Property retentionPeriod) { this.retentionPeriod = retentionPeriod; } public Dataset withRetentionPeriod(Property retentionPeriod) { this.retentionPeriod = retentionPeriod; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-tags * */ @JsonIgnore public List> getTags() { return tags; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-tags * */ @JsonIgnore public void setTags(List> tags) { this.tags = tags; } public Dataset withTags(List> tags) { this.tags = tags; return this; } @Override public String toString() { return new ToStringBuilder(this).append("actions", actions).append("datasetName", datasetName).append("contentDeliveryRules", contentDeliveryRules).append("triggers", triggers).append("versioningConfiguration", versioningConfiguration).append("retentionPeriod", retentionPeriod).append("tags", tags).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(versioningConfiguration).append(contentDeliveryRules).append(datasetName).append(triggers).append(actions).append(retentionPeriod).append(tags).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Dataset) == false) { return false; } Dataset rhs = ((Dataset) other); return new EqualsBuilder().append(versioningConfiguration, rhs.versioningConfiguration).append(contentDeliveryRules, rhs.contentDeliveryRules).append(datasetName, rhs.datasetName).append(triggers, rhs.triggers).append(actions, rhs.actions).append(retentionPeriod, rhs.retentionPeriod).append(tags, rhs.tags).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy