public class SegmentGroup
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SegmentGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<SegmentDimensions> |
getDimensions()
List of dimensions to include or exclude.
|
java.util.List<SegmentReference> |
getSourceSegments()
The base segment that you build your segment on.
|
java.lang.String |
getSourceType()
Specify how to handle multiple source segments.
|
java.lang.String |
getType()
Specify how to handle multiple segment dimensions.
|
int |
hashCode() |
void |
setDimensions(java.util.Collection<SegmentDimensions> dimensions)
List of dimensions to include or exclude.
|
void |
setSourceSegments(java.util.Collection<SegmentReference> sourceSegments)
The base segment that you build your segment on.
|
void |
setSourceType(SourceType sourceType)
Specify how to handle multiple source segments.
|
void |
setSourceType(java.lang.String sourceType)
Specify how to handle multiple source segments.
|
void |
setType(java.lang.String type)
Specify how to handle multiple segment dimensions.
|
void |
setType(Type type)
Specify how to handle multiple segment dimensions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentGroup |
withDimensions(java.util.Collection<SegmentDimensions> dimensions)
List of dimensions to include or exclude.
|
SegmentGroup |
withDimensions(SegmentDimensions... dimensions)
List of dimensions to include or exclude.
|
SegmentGroup |
withSourceSegments(java.util.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(java.lang.String sourceType)
Specify how to handle multiple source segments.
|
SegmentGroup |
withType(java.lang.String type)
Specify how to handle multiple segment dimensions.
|
SegmentGroup |
withType(Type type)
Specify how to handle multiple segment dimensions.
|
public java.util.List<SegmentDimensions> getDimensions()
public void setDimensions(java.util.Collection<SegmentDimensions> dimensions)
dimensions
- List of dimensions to include or exclude.public SegmentGroup withDimensions(SegmentDimensions... dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions
- List of dimensions to include or exclude.public SegmentGroup withDimensions(java.util.Collection<SegmentDimensions> dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions
- List of dimensions to include or exclude.public java.util.List<SegmentReference> getSourceSegments()
public void setSourceSegments(java.util.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)
Returns a reference to this object so that method calls can be chained together.
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(java.util.Collection<SegmentReference> sourceSegments)
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String getSourceType()
Constraints:
Allowed Values: ALL, ANY, NONE
SourceType
public void setSourceType(java.lang.String sourceType)
Constraints:
Allowed Values: ALL, ANY, NONE
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.SourceType
public SegmentGroup withSourceType(java.lang.String sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY, NONE
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.SourceType
public void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: ALL, ANY, NONE
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.SourceType
public SegmentGroup withSourceType(SourceType sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY, NONE
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.SourceType
public java.lang.String getType()
Constraints:
Allowed Values: ALL, ANY, NONE
Type
public void setType(java.lang.String type)
Constraints:
Allowed Values: ALL, ANY, NONE
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.Type
public SegmentGroup withType(java.lang.String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY, NONE
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.Type
public void setType(Type type)
Constraints:
Allowed Values: ALL, ANY, NONE
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.Type
public SegmentGroup withType(Type type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY, NONE
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.Type
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.