public class AttributeDimension extends Object implements Serializable
| Constructor and Description |
|---|
AttributeDimension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttributeType()
The type of dimension: INCLUSIVE – Endpoints that match the criteria
are included in the segment.
|
List<String> |
getValues()
The criteria values for the segment dimension.
|
int |
hashCode() |
void |
setAttributeType(AttributeType attributeType)
The type of dimension: INCLUSIVE – Endpoints that match the criteria
are included in the segment.
|
void |
setAttributeType(String attributeType)
The type of dimension: INCLUSIVE – Endpoints that match the criteria
are included in the segment.
|
void |
setValues(Collection<String> values)
The criteria values for the segment dimension.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeDimension |
withAttributeType(AttributeType attributeType)
The type of dimension: INCLUSIVE – Endpoints that match the criteria
are included in the segment.
|
AttributeDimension |
withAttributeType(String attributeType)
The type of dimension: INCLUSIVE – Endpoints that match the criteria
are included in the segment.
|
AttributeDimension |
withValues(Collection<String> values)
The criteria values for the segment dimension.
|
AttributeDimension |
withValues(String... values)
The criteria values for the segment dimension.
|
public String getAttributeType()
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
AttributeTypepublic void setAttributeType(String attributeType)
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType - The type of dimension: INCLUSIVE – Endpoints that
match the criteria are included in the segment. EXCLUSIVE –
Endpoints that match the criteria are excluded from the
segment.AttributeTypepublic AttributeDimension withAttributeType(String attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType - The type of dimension: INCLUSIVE – Endpoints that
match the criteria are included in the segment. EXCLUSIVE –
Endpoints that match the criteria are excluded from the
segment.AttributeTypepublic void setAttributeType(AttributeType attributeType)
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType - The type of dimension: INCLUSIVE – Endpoints that
match the criteria are included in the segment. EXCLUSIVE –
Endpoints that match the criteria are excluded from the
segment.AttributeTypepublic AttributeDimension withAttributeType(AttributeType attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType - The type of dimension: INCLUSIVE – Endpoints that
match the criteria are included in the segment. EXCLUSIVE –
Endpoints that match the criteria are excluded from the
segment.AttributeTypepublic List<String> getValues()
public void setValues(Collection<String> values)
values - The criteria values for the segment dimension. Endpoints
with matching attribute values are included or excluded from
the segment, depending on the setting for Type.public AttributeDimension withValues(String... values)
Returns a reference to this object so that method calls can be chained together.
values - The criteria values for the segment dimension. Endpoints
with matching attribute values are included or excluded from
the segment, depending on the setting for Type.public AttributeDimension withValues(Collection<String> values)
Returns a reference to this object so that method calls can be chained together.
values - The criteria values for the segment dimension. Endpoints
with matching attribute values are included or excluded from
the segment, depending on the setting for Type.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.