public class SegmentGroup extends Object implements Serializable
| Constructor and Description |
|---|
SegmentGroup() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<SegmentDimensions> |
getDimensions()
List of dimensions to include or exclude.
|
List<SegmentReference> |
getSourceSegments()
Segments that define the source of this segment.
|
String |
getSourceType()
Include or exclude the source.
|
String |
getType()
How should the dimensions be applied for the result
|
int |
hashCode() |
void |
setDimensions(Collection<SegmentDimensions> dimensions)
List of dimensions to include or exclude.
|
void |
setSourceSegments(Collection<SegmentReference> sourceSegments)
Segments that define the source of this segment.
|
void |
setSourceType(SourceType sourceType)
Include or exclude the source.
|
void |
setSourceType(String sourceType)
Include or exclude the source.
|
void |
setType(String type)
How should the dimensions be applied for the result
|
void |
setType(Type type)
How should the dimensions be applied for the result
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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)
Segments that define the source of this segment.
|
SegmentGroup |
withSourceSegments(SegmentReference... sourceSegments)
Segments that define the source of this segment.
|
SegmentGroup |
withSourceType(SourceType sourceType)
Include or exclude the source.
|
SegmentGroup |
withSourceType(String sourceType)
Include or exclude the source.
|
SegmentGroup |
withType(String type)
How should the dimensions be applied for the result
|
SegmentGroup |
withType(Type type)
How should the dimensions be applied for the result
|
public List<SegmentDimensions> getDimensions()
public void setDimensions(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(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 List<SegmentReference> getSourceSegments()
public void setSourceSegments(Collection<SegmentReference> sourceSegments)
sourceSegments - Segments that define the source of this segment.
Currently a maximum of 1 import segment is supported.public SegmentGroup withSourceSegments(SegmentReference... sourceSegments)
Returns a reference to this object so that method calls can be chained together.
sourceSegments - Segments that define the source of this segment.
Currently a maximum of 1 import segment is supported.public SegmentGroup withSourceSegments(Collection<SegmentReference> sourceSegments)
Returns a reference to this object so that method calls can be chained together.
sourceSegments - Segments that define the source of this segment.
Currently a maximum of 1 import segment is supported.public String getSourceType()
Constraints:
Allowed Values: ALL, ANY
SourceTypepublic void setSourceType(String sourceType)
Constraints:
Allowed Values: ALL, ANY
sourceType - Include or exclude the source.SourceTypepublic SegmentGroup withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY
sourceType - Include or exclude the source.SourceTypepublic void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: ALL, ANY
sourceType - Include or exclude the source.SourceTypepublic SegmentGroup withSourceType(SourceType sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY
sourceType - Include or exclude the source.SourceTypepublic String getType()
Constraints:
Allowed Values: ALL, ANY, NONE
Typepublic void setType(String type)
Constraints:
Allowed Values: ALL, ANY, NONE
type - How should the dimensions be applied for the resultTypepublic SegmentGroup withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ALL, ANY, NONE
type - How should the dimensions be applied for the resultTypepublic void setType(Type type)
Constraints:
Allowed Values: ALL, ANY, NONE
type - How should the dimensions be applied for the resultTypepublic 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 - How should the dimensions be applied for the resultTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.