Class EndpointDemographic
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.EndpointDemographic
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EndpointDemographic.Builder,EndpointDemographic>
@Generated("software.amazon.awssdk:codegen") public final class EndpointDemographic extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointDemographic.Builder,EndpointDemographic>
Specifies demographic information about an endpoint, such as the applicable time zone and platform.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointDemographic.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappVersion()The version of the app that's associated with the endpoint.static EndpointDemographic.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocale()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.Stringmake()The manufacturer of the endpoint device, such as apple or samsung.Stringmodel()The model name or number of the endpoint device, such as iPhone or SM-G900F.StringmodelVersion()The model version of the endpoint device.Stringplatform()The platform of the endpoint device, such as ios.StringplatformVersion()The platform version of the endpoint device.List<SdkField<?>>sdkFields()static Class<? extends EndpointDemographic.Builder>serializableBuilderClass()Stringtimezone()The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.EndpointDemographic.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
appVersion
public final String appVersion()
The version of the app that's associated with the endpoint.
- Returns:
- The version of the app that's associated with the endpoint.
-
locale
public final 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.
- Returns:
- 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.
-
make
public final String make()
The manufacturer of the endpoint device, such as apple or samsung.
- Returns:
- The manufacturer of the endpoint device, such as apple or samsung.
-
model
public final String model()
The model name or number of the endpoint device, such as iPhone or SM-G900F.
- Returns:
- The model name or number of the endpoint device, such as iPhone or SM-G900F.
-
modelVersion
public final String modelVersion()
The model version of the endpoint device.
- Returns:
- The model version of the endpoint device.
-
platform
public final String platform()
The platform of the endpoint device, such as ios.
- Returns:
- The platform of the endpoint device, such as ios.
-
platformVersion
public final String platformVersion()
The platform version of the endpoint device.
- Returns:
- The platform version of the endpoint device.
-
timezone
public final String timezone()
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
- Returns:
- The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
-
toBuilder
public EndpointDemographic.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EndpointDemographic.Builder,EndpointDemographic>
-
builder
public static EndpointDemographic.Builder builder()
-
serializableBuilderClass
public static Class<? extends EndpointDemographic.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-