public class Segment extends Object
The properties of a segment are exactly those returned by the Adobe Target API, with no modification.
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated() |
String |
getCreatedBy() |
String |
getDescription() |
boolean |
getHidden() |
long |
getId() |
Map<String,String> |
getMarketingCloudMetadata()
Segment metadata information
Contains following information keys: sourceProductName, editURL, remoteModifiedBy
Present starting with TnT segments API v7
|
Date |
getModified() |
String |
getModifiedBy() |
String |
getName() |
String |
getPath() |
String |
getSegmentRule() |
String |
getSource()
Returns this segments's source, i.e.
|
String |
getType()
Segment type [reusable|anonymous]
Present starting with TnT segments API v7
|
void |
setCreated(Date created) |
void |
setCreatedBy(String createdBy) |
void |
setDescription(String description) |
void |
setHidden(boolean hidden) |
void |
setId(long id) |
void |
setMarketingCloudMetadata(Map<String,String> metadata) |
void |
setModified(Date modified) |
void |
setModifiedBy(String modifiedBy) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setSegmentRule(String segmentRule) |
void |
setSource(String source) |
void |
setType(String type) |
String |
toString() |
public long getId()
public void setId(long id)
public String getPath()
public void setPath(String path)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getSegmentRule()
public void setSegmentRule(String segmentRule)
public Date getCreated()
public void setCreated(Date created)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public Date getModified()
public void setModified(Date modified)
public String getModifiedBy()
public void setModifiedBy(String modifiedBy)
public boolean getHidden()
public void setHidden(boolean hidden)
public String getType()
String
public void setType(String type)
public Map<String,String> getMarketingCloudMetadata()
Map
public String getSource()
String
object representing the source. This string representation is the one from Target
with no formatting applied. It's the caller's job to map this source name to actual solution names (e.g. for
Target the source is tnt
)public void setSource(String source)
Copyright © 2010 - 2020 Adobe. All Rights Reserved