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

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

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

There is a newer version: 15.2.0.1
Show newest version

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;


/**
 * Segment
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "SegmentGroups", "Dimensions", "ApplicationId", "Name" }) public class Segment { /** * SegmentSegmentGroups *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html * */ @JsonProperty("SegmentGroups") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html") private Property segmentGroups; /** * SegmentSegmentDimensions *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html * */ @JsonProperty("Dimensions") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html") private Property dimensions; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-applicationid * */ @JsonProperty("ApplicationId") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-applicationid") private CharSequence applicationId; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-name") private CharSequence name; /** * SegmentSegmentGroups *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html * */ @JsonIgnore public Property getSegmentGroups() { return segmentGroups; } /** * SegmentSegmentGroups *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html * */ @JsonIgnore public void setSegmentGroups(Property segmentGroups) { this.segmentGroups = segmentGroups; } public Segment withSegmentGroups(Property segmentGroups) { this.segmentGroups = segmentGroups; return this; } /** * SegmentSegmentDimensions *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html * */ @JsonIgnore public Property getDimensions() { return dimensions; } /** * SegmentSegmentDimensions *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html * */ @JsonIgnore public void setDimensions(Property dimensions) { this.dimensions = dimensions; } public Segment withDimensions(Property dimensions) { this.dimensions = dimensions; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-applicationid * */ @JsonIgnore public CharSequence getApplicationId() { return applicationId; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-applicationid * */ @JsonIgnore public void setApplicationId(CharSequence applicationId) { this.applicationId = applicationId; } public Segment withApplicationId(CharSequence applicationId) { this.applicationId = applicationId; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public Segment withName(CharSequence name) { this.name = name; return this; } @Override public String toString() { return new ToStringBuilder(this).append("segmentGroups", segmentGroups).append("dimensions", dimensions).append("applicationId", applicationId).append("name", name).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(name).append(applicationId).append(segmentGroups).append(dimensions).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Segment) == false) { return false; } Segment rhs = ((Segment) other); return new EqualsBuilder().append(name, rhs.name).append(applicationId, rhs.applicationId).append(segmentGroups, rhs.segmentGroups).append(dimensions, rhs.dimensions).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy