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

shiver.me.timbers.aws.pinpoint.SegmentDemographic 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.

The 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;


/**
 * SegmentDemographic
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "AppVersion", "DeviceType", "Platform", "Channel", "Model", "Make" }) public class SegmentDemographic implements Property { /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonProperty("AppVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html") private Property appVersion; /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonProperty("DeviceType") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html") private Property deviceType; /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonProperty("Platform") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html") private Property platform; /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonProperty("Channel") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html") private Property channel; /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonProperty("Model") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html") private Property model; /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonProperty("Make") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html") private Property make; /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public Property getAppVersion() { return appVersion; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public void setAppVersion(Property appVersion) { this.appVersion = appVersion; } public SegmentDemographic withAppVersion(Property appVersion) { this.appVersion = appVersion; return this; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public Property getDeviceType() { return deviceType; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public void setDeviceType(Property deviceType) { this.deviceType = deviceType; } public SegmentDemographic withDeviceType(Property deviceType) { this.deviceType = deviceType; return this; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public Property getPlatform() { return platform; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public void setPlatform(Property platform) { this.platform = platform; } public SegmentDemographic withPlatform(Property platform) { this.platform = platform; return this; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public Property getChannel() { return channel; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public void setChannel(Property channel) { this.channel = channel; } public SegmentDemographic withChannel(Property channel) { this.channel = channel; return this; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public Property getModel() { return model; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public void setModel(Property model) { this.model = model; } public SegmentDemographic withModel(Property model) { this.model = model; return this; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public Property getMake() { return make; } /** * SegmentSetDimension *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html * */ @JsonIgnore public void setMake(Property make) { this.make = make; } public SegmentDemographic withMake(Property make) { this.make = make; return this; } @Override public String toString() { return new ToStringBuilder(this).append("appVersion", appVersion).append("deviceType", deviceType).append("platform", platform).append("channel", channel).append("model", model).append("make", make).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(deviceType).append(appVersion).append(channel).append(model).append(make).append(platform).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof SegmentDemographic) == false) { return false; } SegmentDemographic rhs = ((SegmentDemographic) other); return new EqualsBuilder().append(deviceType, rhs.deviceType).append(appVersion, rhs.appVersion).append(channel, rhs.channel).append(model, rhs.model).append(make, rhs.make).append(platform, rhs.platform).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy