public class SegmentDimensions extends Object implements Serializable
| Constructor and Description |
|---|
SegmentDimensions() |
| Modifier and Type | Method and Description |
|---|---|
SegmentDimensions |
addAttributesEntry(String key,
AttributeDimension value)
Custom segment attributes.
|
SegmentDimensions |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
boolean |
equals(Object obj) |
Map<String,AttributeDimension> |
getAttributes()
Custom segment attributes.
|
SegmentBehaviors |
getBehavior()
The segment behaviors attributes.
|
SegmentDemographics |
getDemographic()
The segment demographics attributes.
|
SegmentLocation |
getLocation()
The segment location attributes.
|
int |
hashCode() |
void |
setAttributes(Map<String,AttributeDimension> attributes)
Custom segment attributes.
|
void |
setBehavior(SegmentBehaviors behavior)
The segment behaviors attributes.
|
void |
setDemographic(SegmentDemographics demographic)
The segment demographics attributes.
|
void |
setLocation(SegmentLocation location)
The segment location attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentDimensions |
withAttributes(Map<String,AttributeDimension> attributes)
Custom segment attributes.
|
SegmentDimensions |
withBehavior(SegmentBehaviors behavior)
The segment behaviors attributes.
|
SegmentDimensions |
withDemographic(SegmentDemographics demographic)
The segment demographics attributes.
|
SegmentDimensions |
withLocation(SegmentLocation location)
The segment location attributes.
|
public Map<String,AttributeDimension> getAttributes()
public void setAttributes(Map<String,AttributeDimension> attributes)
attributes - Custom segment attributes.public SegmentDimensions withAttributes(Map<String,AttributeDimension> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes - Custom segment attributes.public SegmentDimensions addAttributesEntry(String key, AttributeDimension value)
The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Attributes.value - The corresponding value of the entry to be added into
Attributes.public SegmentDimensions clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public SegmentBehaviors getBehavior()
public void setBehavior(SegmentBehaviors behavior)
behavior - The segment behaviors attributes.public SegmentDimensions withBehavior(SegmentBehaviors behavior)
Returns a reference to this object so that method calls can be chained together.
behavior - The segment behaviors attributes.public SegmentDemographics getDemographic()
public void setDemographic(SegmentDemographics demographic)
demographic - The segment demographics attributes.public SegmentDimensions withDemographic(SegmentDemographics demographic)
Returns a reference to this object so that method calls can be chained together.
demographic - The segment demographics attributes.public SegmentLocation getLocation()
public void setLocation(SegmentLocation location)
location - The segment location attributes.public SegmentDimensions withLocation(SegmentLocation location)
Returns a reference to this object so that method calls can be chained together.
location - The segment location attributes. @return A reference to this updated object so that method calls can be
chained together.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.