@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentGroupList extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings that define the relationships between segment groups for a segment.
Constructor and Description |
---|
SegmentGroupList() |
Modifier and Type | Method and Description |
---|---|
SegmentGroupList |
clone() |
boolean |
equals(Object obj) |
List<SegmentGroup> |
getGroups()
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
|
String |
getInclude()
Specifies how to handle multiple segment groups for the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroups(Collection<SegmentGroup> groups)
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
|
void |
setInclude(String include)
Specifies how to handle multiple segment groups for the segment.
|
String |
toString()
Returns a string representation of this object.
|
SegmentGroupList |
withGroups(Collection<SegmentGroup> groups)
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
|
SegmentGroupList |
withGroups(SegmentGroup... groups)
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
|
SegmentGroupList |
withInclude(Include include)
Specifies how to handle multiple segment groups for the segment.
|
SegmentGroupList |
withInclude(String include)
Specifies how to handle multiple segment groups for the segment.
|
public List<SegmentGroup> getGroups()
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
public void setGroups(Collection<SegmentGroup> groups)
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
groups
- An array that defines the set of segment criteria to evaluate when handling segment groups for the
segment.public SegmentGroupList withGroups(SegmentGroup... groups)
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- An array that defines the set of segment criteria to evaluate when handling segment groups for the
segment.public SegmentGroupList withGroups(Collection<SegmentGroup> groups)
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
groups
- An array that defines the set of segment criteria to evaluate when handling segment groups for the
segment.public void setInclude(String include)
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
include
- Specifies how to handle multiple segment groups for the segment. For example, if the segment includes
three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the
segment groups.Include
public String getInclude()
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
Include
public SegmentGroupList withInclude(String include)
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
include
- Specifies how to handle multiple segment groups for the segment. For example, if the segment includes
three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the
segment groups.Include
public SegmentGroupList withInclude(Include include)
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
include
- Specifies how to handle multiple segment groups for the segment. For example, if the segment includes
three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the
segment groups.Include
public String toString()
toString
in class Object
Object.toString()
public SegmentGroupList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.