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

shiver.me.timbers.aws.budgets.BudgetNotificationWithSubscribers Maven / Gradle / Ivy


package shiver.me.timbers.aws.budgets;

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;


/**
 * BudgetNotificationWithSubscribers
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Subscribers", "Notification" }) public class BudgetNotificationWithSubscribers implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html#cfn-budgets-budget-notificationwithsubscribers-subscribers * */ @JsonProperty("Subscribers") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html#cfn-budgets-budget-notificationwithsubscribers-subscribers") private List> subscribers = new ArrayList>(); /** * BudgetNotification *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html * */ @JsonProperty("Notification") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html") private Property notification; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html#cfn-budgets-budget-notificationwithsubscribers-subscribers * */ @JsonIgnore public List> getSubscribers() { return subscribers; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html#cfn-budgets-budget-notificationwithsubscribers-subscribers * */ @JsonIgnore public void setSubscribers(List> subscribers) { this.subscribers = subscribers; } public BudgetNotificationWithSubscribers withSubscribers(List> subscribers) { this.subscribers = subscribers; return this; } /** * BudgetNotification *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html * */ @JsonIgnore public Property getNotification() { return notification; } /** * BudgetNotification *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html * */ @JsonIgnore public void setNotification(Property notification) { this.notification = notification; } public BudgetNotificationWithSubscribers withNotification(Property notification) { this.notification = notification; return this; } @Override public String toString() { return new ToStringBuilder(this).append("subscribers", subscribers).append("notification", notification).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(notification).append(subscribers).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof BudgetNotificationWithSubscribers) == false) { return false; } BudgetNotificationWithSubscribers rhs = ((BudgetNotificationWithSubscribers) other); return new EqualsBuilder().append(notification, rhs.notification).append(subscribers, rhs.subscribers).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy