@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentGroup extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
SegmentGroup() |
| Modifier and Type | Method and Description |
|---|---|
SegmentGroup |
clone() |
boolean |
equals(Object obj) |
List<SegmentDimensions> |
getDimensions()
List of dimensions to include or exclude.
|
List<SegmentReference> |
getSourceSegments()
The base segment that you build your segment on.
|
String |
getSourceType()
Specify how to handle multiple source segments.
|
String |
getType()
Specify how to handle multiple segment dimensions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDimensions(Collection<SegmentDimensions> dimensions)
List of dimensions to include or exclude.
|
void |
setSourceSegments(Collection<SegmentReference> sourceSegments)
The base segment that you build your segment on.
|
void |
setSourceType(String sourceType)
Specify how to handle multiple source segments.
|
void |
setType(String type)
Specify how to handle multiple segment dimensions.
|
String |
toString()
Returns a string representation of this object.
|
SegmentGroup |
withDimensions(Collection<SegmentDimensions> dimensions)
List of dimensions to include or exclude.
|
SegmentGroup |
withDimensions(SegmentDimensions... dimensions)
List of dimensions to include or exclude.
|
SegmentGroup |
withSourceSegments(Collection<SegmentReference> sourceSegments)
The base segment that you build your segment on.
|
SegmentGroup |
withSourceSegments(SegmentReference... sourceSegments)
The base segment that you build your segment on.
|
SegmentGroup |
withSourceType(SourceType sourceType)
Specify how to handle multiple source segments.
|
SegmentGroup |
withSourceType(String sourceType)
Specify how to handle multiple source segments.
|
SegmentGroup |
withType(String type)
Specify how to handle multiple segment dimensions.
|
SegmentGroup |
withType(Type type)
Specify how to handle multiple segment dimensions.
|
public List<SegmentDimensions> getDimensions()
public void setDimensions(Collection<SegmentDimensions> dimensions)
dimensions - List of dimensions to include or exclude.public SegmentGroup withDimensions(SegmentDimensions... dimensions)
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection) or withDimensions(java.util.Collection) if you want to
override the existing values.
dimensions - List of dimensions to include or exclude.public SegmentGroup withDimensions(Collection<SegmentDimensions> dimensions)
dimensions - List of dimensions to include or exclude.public List<SegmentReference> getSourceSegments()
public void setSourceSegments(Collection<SegmentReference> sourceSegments)
sourceSegments - The base segment that you build your segment on. The source segment defines the starting "universe" of
endpoints. When you add dimensions to the segment, it filters the source segment based on the dimensions
that you specify. You can specify more than one dimensional segment. You can only specify one imported
segment.
NOTE: If you specify an imported segment for this attribute, the segment size estimate that appears in the
Amazon Pinpoint console shows the size of the imported segment, without any filters applied to it.public SegmentGroup withSourceSegments(SegmentReference... sourceSegments)
NOTE: This method appends the values to the existing list (if any). Use
setSourceSegments(java.util.Collection) or withSourceSegments(java.util.Collection) if you want
to override the existing values.
sourceSegments - The base segment that you build your segment on. The source segment defines the starting "universe" of
endpoints. When you add dimensions to the segment, it filters the source segment based on the dimensions
that you specify. You can specify more than one dimensional segment. You can only specify one imported
segment.
NOTE: If you specify an imported segment for this attribute, the segment size estimate that appears in the
Amazon Pinpoint console shows the size of the imported segment, without any filters applied to it.public SegmentGroup withSourceSegments(Collection<SegmentReference> sourceSegments)
sourceSegments - The base segment that you build your segment on. The source segment defines the starting "universe" of
endpoints. When you add dimensions to the segment, it filters the source segment based on the dimensions
that you specify. You can specify more than one dimensional segment. You can only specify one imported
segment.
NOTE: If you specify an imported segment for this attribute, the segment size estimate that appears in the
Amazon Pinpoint console shows the size of the imported segment, without any filters applied to it.public void setSourceType(String sourceType)
sourceType - Specify how to handle multiple source segments. For example, if you specify three source segments, should
the resulting segment be based on any or all of the segments? Acceptable values: ANY or ALL.SourceTypepublic String getSourceType()
SourceTypepublic SegmentGroup withSourceType(String sourceType)
sourceType - Specify how to handle multiple source segments. For example, if you specify three source segments, should
the resulting segment be based on any or all of the segments? Acceptable values: ANY or ALL.SourceTypepublic SegmentGroup withSourceType(SourceType sourceType)
sourceType - Specify how to handle multiple source segments. For example, if you specify three source segments, should
the resulting segment be based on any or all of the segments? Acceptable values: ANY or ALL.SourceTypepublic void setType(String type)
type - Specify how to handle multiple segment dimensions. For example, if you specify three dimensions, should
the resulting segment include endpoints that are matched by all, any, or none of the dimensions?
Acceptable values: ALL, ANY, or NONE.Typepublic String getType()
Typepublic SegmentGroup withType(String type)
type - Specify how to handle multiple segment dimensions. For example, if you specify three dimensions, should
the resulting segment include endpoints that are matched by all, any, or none of the dimensions?
Acceptable values: ALL, ANY, or NONE.Typepublic SegmentGroup withType(Type type)
type - Specify how to handle multiple segment dimensions. For example, if you specify three dimensions, should
the resulting segment include endpoints that are matched by all, any, or none of the dimensions?
Acceptable values: ALL, ANY, or NONE.Typepublic String toString()
toString in class ObjectObject.toString()public SegmentGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.