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

shiver.me.timbers.aws.pinpoint.CampaignQuietTime Maven / Gradle / Ivy


package shiver.me.timbers.aws.pinpoint;

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;


/**
 * CampaignQuietTime
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Start", "End" }) public class CampaignQuietTime implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-start * */ @JsonProperty("Start") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-start") private CharSequence start; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-end * */ @JsonProperty("End") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-end") private CharSequence end; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-start * */ @JsonIgnore public CharSequence getStart() { return start; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-start * */ @JsonIgnore public void setStart(CharSequence start) { this.start = start; } public CampaignQuietTime withStart(CharSequence start) { this.start = start; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-end * */ @JsonIgnore public CharSequence getEnd() { return end; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-end * */ @JsonIgnore public void setEnd(CharSequence end) { this.end = end; } public CampaignQuietTime withEnd(CharSequence end) { this.end = end; return this; } @Override public String toString() { return new ToStringBuilder(this).append("start", start).append("end", end).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(start).append(end).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof CampaignQuietTime) == false) { return false; } CampaignQuietTime rhs = ((CampaignQuietTime) other); return new EqualsBuilder().append(start, rhs.start).append(end, rhs.end).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy