@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentGroup extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the base segments and dimensions for a segment, and the relationships between these base segments and dimensions.
Constructor and Description |
---|
SegmentGroup() |
Modifier and Type | Method and Description |
---|---|
SegmentGroup |
clone() |
boolean |
equals(Object obj) |
List<SegmentDimensions> |
getDimensions()
An array that defines the dimensions for the segment.
|
List<SegmentReference> |
getSourceSegments()
The base segment to build the segment on.
|
String |
getSourceType()
Specifies how to handle multiple base segments for the segment.
|
String |
getType()
Specifies how to handle multiple dimensions for the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDimensions(Collection<SegmentDimensions> dimensions)
An array that defines the dimensions for the segment.
|
void |
setSourceSegments(Collection<SegmentReference> sourceSegments)
The base segment to build the segment on.
|
void |
setSourceType(String sourceType)
Specifies how to handle multiple base segments for the segment.
|
void |
setType(String type)
Specifies how to handle multiple dimensions for the segment.
|
String |
toString()
Returns a string representation of this object.
|
SegmentGroup |
withDimensions(Collection<SegmentDimensions> dimensions)
An array that defines the dimensions for the segment.
|
SegmentGroup |
withDimensions(SegmentDimensions... dimensions)
An array that defines the dimensions for the segment.
|
SegmentGroup |
withSourceSegments(Collection<SegmentReference> sourceSegments)
The base segment to build the segment on.
|
SegmentGroup |
withSourceSegments(SegmentReference... sourceSegments)
The base segment to build the segment on.
|
SegmentGroup |
withSourceType(SourceType sourceType)
Specifies how to handle multiple base segments for the segment.
|
SegmentGroup |
withSourceType(String sourceType)
Specifies how to handle multiple base segments for the segment.
|
SegmentGroup |
withType(String type)
Specifies how to handle multiple dimensions for the segment.
|
SegmentGroup |
withType(Type type)
Specifies how to handle multiple dimensions for the segment.
|
public List<SegmentDimensions> getDimensions()
An array that defines the dimensions for the segment.
public void setDimensions(Collection<SegmentDimensions> dimensions)
An array that defines the dimensions for the segment.
dimensions
- An array that defines the dimensions for the segment.public SegmentGroup withDimensions(SegmentDimensions... dimensions)
An array that defines the dimensions for the segment.
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
- An array that defines the dimensions for the segment.public SegmentGroup withDimensions(Collection<SegmentDimensions> dimensions)
An array that defines the dimensions for the segment.
dimensions
- An array that defines the dimensions for the segment.public List<SegmentReference> getSourceSegments()
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
public void setSourceSegments(Collection<SegmentReference> sourceSegments)
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
sourceSegments
- The base segment to build the segment on. A base segment, also referred to as a source segment,
defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon
Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
public SegmentGroup withSourceSegments(SegmentReference... sourceSegments)
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
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 to build the segment on. A base segment, also referred to as a source segment,
defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon
Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
public SegmentGroup withSourceSegments(Collection<SegmentReference> sourceSegments)
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
sourceSegments
- The base segment to build the segment on. A base segment, also referred to as a source segment,
defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon
Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
public void setSourceType(String sourceType)
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
sourceType
- Specifies how to handle multiple base segments for the segment. For example, if you specify three base
segments for the segment, whether the resulting segment is based on all, any, or none of the base
segments.SourceType
public String getSourceType()
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
SourceType
public SegmentGroup withSourceType(String sourceType)
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
sourceType
- Specifies how to handle multiple base segments for the segment. For example, if you specify three base
segments for the segment, whether the resulting segment is based on all, any, or none of the base
segments.SourceType
public SegmentGroup withSourceType(SourceType sourceType)
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
sourceType
- Specifies how to handle multiple base segments for the segment. For example, if you specify three base
segments for the segment, whether the resulting segment is based on all, any, or none of the base
segments.SourceType
public void setType(String type)
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
type
- Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions
for the segment, whether the resulting segment includes endpoints that match all, any, or none of the
dimensions.Type
public String getType()
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
Type
public SegmentGroup withType(String type)
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
type
- Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions
for the segment, whether the resulting segment includes endpoints that match all, any, or none of the
dimensions.Type
public SegmentGroup withType(Type type)
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
type
- Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions
for the segment, whether the resulting segment includes endpoints that match all, any, or none of the
dimensions.Type
public String toString()
toString
in class Object
Object.toString()
public SegmentGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.