Class SegmentDemographics
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.SegmentDemographics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SegmentDemographics.Builder,SegmentDemographics>
@Generated("software.amazon.awssdk:codegen") public final class SegmentDemographics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SegmentDemographics.Builder,SegmentDemographics>
Specifies demographic-based dimension settings for including or excluding endpoints from a segment. These settings derive from characteristics of endpoint devices, such as platform, make, and model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSegmentDemographics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SetDimensionappVersion()The app version criteria for the segment.static SegmentDemographics.Builderbuilder()SetDimensionchannel()The channel criteria for the segment.SetDimensiondeviceType()The device type criteria for the segment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SetDimensionmake()The device make criteria for the segment.SetDimensionmodel()The device model criteria for the segment.SetDimensionplatform()The device platform criteria for the segment.List<SdkField<?>>sdkFields()static Class<? extends SegmentDemographics.Builder>serializableBuilderClass()SegmentDemographics.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 SetDimension appVersion()
The app version criteria for the segment.
- Returns:
- The app version criteria for the segment.
-
channel
public final SetDimension channel()
The channel criteria for the segment.
- Returns:
- The channel criteria for the segment.
-
deviceType
public final SetDimension deviceType()
The device type criteria for the segment.
- Returns:
- The device type criteria for the segment.
-
make
public final SetDimension make()
The device make criteria for the segment.
- Returns:
- The device make criteria for the segment.
-
model
public final SetDimension model()
The device model criteria for the segment.
- Returns:
- The device model criteria for the segment.
-
platform
public final SetDimension platform()
The device platform criteria for the segment.
- Returns:
- The device platform criteria for the segment.
-
toBuilder
public SegmentDemographics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SegmentDemographics.Builder,SegmentDemographics>
-
builder
public static SegmentDemographics.Builder builder()
-
serializableBuilderClass
public static Class<? extends SegmentDemographics.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.
-
-