@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointDemographic extends Object implements Serializable, Cloneable, StructuredPojo
Specifies demographic information about an endpoint, such as the applicable time zone and platform.
Constructor and Description |
---|
EndpointDemographic() |
Modifier and Type | Method and Description |
---|---|
EndpointDemographic |
clone() |
boolean |
equals(Object obj) |
String |
getAppVersion()
The version of the app that's associated with the endpoint.
|
String |
getLocale()
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_),
followed by an ISO 3166-1 alpha-2 value.
|
String |
getMake()
The manufacturer of the endpoint device, such as apple or samsung.
|
String |
getModel()
The model name or number of the endpoint device, such as iPhone or SM-G900F.
|
String |
getModelVersion()
The model version of the endpoint device.
|
String |
getPlatform()
The platform of the endpoint device, such as ios.
|
String |
getPlatformVersion()
The platform version of the endpoint device.
|
String |
getTimezone()
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppVersion(String appVersion)
The version of the app that's associated with the endpoint.
|
void |
setLocale(String locale)
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_),
followed by an ISO 3166-1 alpha-2 value.
|
void |
setMake(String make)
The manufacturer of the endpoint device, such as apple or samsung.
|
void |
setModel(String model)
The model name or number of the endpoint device, such as iPhone or SM-G900F.
|
void |
setModelVersion(String modelVersion)
The model version of the endpoint device.
|
void |
setPlatform(String platform)
The platform of the endpoint device, such as ios.
|
void |
setPlatformVersion(String platformVersion)
The platform version of the endpoint device.
|
void |
setTimezone(String timezone)
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
|
String |
toString()
Returns a string representation of this object.
|
EndpointDemographic |
withAppVersion(String appVersion)
The version of the app that's associated with the endpoint.
|
EndpointDemographic |
withLocale(String locale)
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_),
followed by an ISO 3166-1 alpha-2 value.
|
EndpointDemographic |
withMake(String make)
The manufacturer of the endpoint device, such as apple or samsung.
|
EndpointDemographic |
withModel(String model)
The model name or number of the endpoint device, such as iPhone or SM-G900F.
|
EndpointDemographic |
withModelVersion(String modelVersion)
The model version of the endpoint device.
|
EndpointDemographic |
withPlatform(String platform)
The platform of the endpoint device, such as ios.
|
EndpointDemographic |
withPlatformVersion(String platformVersion)
The platform version of the endpoint device.
|
EndpointDemographic |
withTimezone(String timezone)
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
|
public void setAppVersion(String appVersion)
The version of the app that's associated with the endpoint.
appVersion
- The version of the app that's associated with the endpoint.public String getAppVersion()
The version of the app that's associated with the endpoint.
public EndpointDemographic withAppVersion(String appVersion)
The version of the app that's associated with the endpoint.
appVersion
- The version of the app that's associated with the endpoint.public void setLocale(String locale)
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_), followed by an ISO 3166-1 alpha-2 value.
locale
- The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore
(_), followed by an ISO 3166-1 alpha-2 value.public String getLocale()
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_), followed by an ISO 3166-1 alpha-2 value.
public EndpointDemographic withLocale(String locale)
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_), followed by an ISO 3166-1 alpha-2 value.
locale
- The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore
(_), followed by an ISO 3166-1 alpha-2 value.public void setMake(String make)
The manufacturer of the endpoint device, such as apple or samsung.
make
- The manufacturer of the endpoint device, such as apple or samsung.public String getMake()
The manufacturer of the endpoint device, such as apple or samsung.
public EndpointDemographic withMake(String make)
The manufacturer of the endpoint device, such as apple or samsung.
make
- The manufacturer of the endpoint device, such as apple or samsung.public void setModel(String model)
The model name or number of the endpoint device, such as iPhone or SM-G900F.
model
- The model name or number of the endpoint device, such as iPhone or SM-G900F.public String getModel()
The model name or number of the endpoint device, such as iPhone or SM-G900F.
public EndpointDemographic withModel(String model)
The model name or number of the endpoint device, such as iPhone or SM-G900F.
model
- The model name or number of the endpoint device, such as iPhone or SM-G900F.public void setModelVersion(String modelVersion)
The model version of the endpoint device.
modelVersion
- The model version of the endpoint device.public String getModelVersion()
The model version of the endpoint device.
public EndpointDemographic withModelVersion(String modelVersion)
The model version of the endpoint device.
modelVersion
- The model version of the endpoint device.public void setPlatform(String platform)
The platform of the endpoint device, such as ios.
platform
- The platform of the endpoint device, such as ios.public String getPlatform()
The platform of the endpoint device, such as ios.
public EndpointDemographic withPlatform(String platform)
The platform of the endpoint device, such as ios.
platform
- The platform of the endpoint device, such as ios.public void setPlatformVersion(String platformVersion)
The platform version of the endpoint device.
platformVersion
- The platform version of the endpoint device.public String getPlatformVersion()
The platform version of the endpoint device.
public EndpointDemographic withPlatformVersion(String platformVersion)
The platform version of the endpoint device.
platformVersion
- The platform version of the endpoint device.public void setTimezone(String timezone)
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
timezone
- The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.public String getTimezone()
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
public EndpointDemographic withTimezone(String timezone)
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
timezone
- The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.public String toString()
toString
in class Object
Object.toString()
public EndpointDemographic clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.