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

shiver.me.timbers.aws.ses.ConfigurationSetEventDestinationEventDestination Maven / Gradle / Ivy


package shiver.me.timbers.aws.ses;

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;


/**
 * ConfigurationSetEventDestinationEventDestination
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "CloudWatchDestination", "Enabled", "MatchingEventTypes", "Name", "KinesisFirehoseDestination" }) public class ConfigurationSetEventDestinationEventDestination implements Property { /** * ConfigurationSetEventDestinationCloudWatchDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html * */ @JsonProperty("CloudWatchDestination") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html") private Property cloudWatchDestination; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-enabled * */ @JsonProperty("Enabled") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-enabled") private CharSequence enabled; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-matchingeventtypes * */ @JsonProperty("MatchingEventTypes") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-matchingeventtypes") private List matchingEventTypes = new ArrayList(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-name") private CharSequence name; /** * ConfigurationSetEventDestinationKinesisFirehoseDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html * */ @JsonProperty("KinesisFirehoseDestination") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html") private Property kinesisFirehoseDestination; /** * ConfigurationSetEventDestinationCloudWatchDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html * */ @JsonIgnore public Property getCloudWatchDestination() { return cloudWatchDestination; } /** * ConfigurationSetEventDestinationCloudWatchDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html * */ @JsonIgnore public void setCloudWatchDestination(Property cloudWatchDestination) { this.cloudWatchDestination = cloudWatchDestination; } public ConfigurationSetEventDestinationEventDestination withCloudWatchDestination(Property cloudWatchDestination) { this.cloudWatchDestination = cloudWatchDestination; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-enabled * */ @JsonIgnore public CharSequence getEnabled() { return enabled; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-enabled * */ @JsonIgnore public void setEnabled(CharSequence enabled) { this.enabled = enabled; } public ConfigurationSetEventDestinationEventDestination withEnabled(CharSequence enabled) { this.enabled = enabled; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-matchingeventtypes * */ @JsonIgnore public List getMatchingEventTypes() { return matchingEventTypes; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-matchingeventtypes * */ @JsonIgnore public void setMatchingEventTypes(List matchingEventTypes) { this.matchingEventTypes = matchingEventTypes; } public ConfigurationSetEventDestinationEventDestination withMatchingEventTypes(List matchingEventTypes) { this.matchingEventTypes = matchingEventTypes; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public ConfigurationSetEventDestinationEventDestination withName(CharSequence name) { this.name = name; return this; } /** * ConfigurationSetEventDestinationKinesisFirehoseDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html * */ @JsonIgnore public Property getKinesisFirehoseDestination() { return kinesisFirehoseDestination; } /** * ConfigurationSetEventDestinationKinesisFirehoseDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html * */ @JsonIgnore public void setKinesisFirehoseDestination(Property kinesisFirehoseDestination) { this.kinesisFirehoseDestination = kinesisFirehoseDestination; } public ConfigurationSetEventDestinationEventDestination withKinesisFirehoseDestination(Property kinesisFirehoseDestination) { this.kinesisFirehoseDestination = kinesisFirehoseDestination; return this; } @Override public String toString() { return new ToStringBuilder(this).append("cloudWatchDestination", cloudWatchDestination).append("enabled", enabled).append("matchingEventTypes", matchingEventTypes).append("name", name).append("kinesisFirehoseDestination", kinesisFirehoseDestination).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(name).append(cloudWatchDestination).append(kinesisFirehoseDestination).append(enabled).append(matchingEventTypes).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ConfigurationSetEventDestinationEventDestination) == false) { return false; } ConfigurationSetEventDestinationEventDestination rhs = ((ConfigurationSetEventDestinationEventDestination) other); return new EqualsBuilder().append(name, rhs.name).append(cloudWatchDestination, rhs.cloudWatchDestination).append(kinesisFirehoseDestination, rhs.kinesisFirehoseDestination).append(enabled, rhs.enabled).append(matchingEventTypes, rhs.matchingEventTypes).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy