@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the configuration, dimension, and other settings for a segment.
Constructor and Description |
---|
SegmentResponse() |
Modifier and Type | Method and Description |
---|---|
SegmentResponse |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SegmentResponse |
clearTagsEntries()
Removes all the entries added into Tags.
|
SegmentResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application that the segment is associated with.
|
String |
getArn()
The Amazon Resource Name (ARN) of the segment.
|
String |
getCreationDate()
The date and time when the segment was created.
|
SegmentDimensions |
getDimensions()
The dimension settings for the segment.
|
String |
getId()
The unique identifier for the segment.
|
SegmentImportResource |
getImportDefinition()
The settings for the import job that's associated with the segment.
|
String |
getLastModifiedDate()
The date and time when the segment was last modified.
|
String |
getName()
The name of the segment.
|
SegmentGroupList |
getSegmentGroups()
A list of one or more segment groups that apply to the segment.
|
String |
getSegmentType()
The segment type.
|
Map<String,String> |
getTags()
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.
|
Integer |
getVersion()
The version number of the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique identifier for the application that the segment is associated with.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the segment.
|
void |
setCreationDate(String creationDate)
The date and time when the segment was created.
|
void |
setDimensions(SegmentDimensions dimensions)
The dimension settings for the segment.
|
void |
setId(String id)
The unique identifier for the segment.
|
void |
setImportDefinition(SegmentImportResource importDefinition)
The settings for the import job that's associated with the segment.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date and time when the segment was last modified.
|
void |
setName(String name)
The name of the segment.
|
void |
setSegmentGroups(SegmentGroupList segmentGroups)
A list of one or more segment groups that apply to the segment.
|
void |
setSegmentType(SegmentType segmentType)
The segment type.
|
void |
setSegmentType(String segmentType)
The segment type.
|
void |
setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.
|
void |
setVersion(Integer version)
The version number of the segment.
|
String |
toString()
Returns a string representation of this object.
|
SegmentResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the segment is associated with.
|
SegmentResponse |
withArn(String arn)
The Amazon Resource Name (ARN) of the segment.
|
SegmentResponse |
withCreationDate(String creationDate)
The date and time when the segment was created.
|
SegmentResponse |
withDimensions(SegmentDimensions dimensions)
The dimension settings for the segment.
|
SegmentResponse |
withId(String id)
The unique identifier for the segment.
|
SegmentResponse |
withImportDefinition(SegmentImportResource importDefinition)
The settings for the import job that's associated with the segment.
|
SegmentResponse |
withLastModifiedDate(String lastModifiedDate)
The date and time when the segment was last modified.
|
SegmentResponse |
withName(String name)
The name of the segment.
|
SegmentResponse |
withSegmentGroups(SegmentGroupList segmentGroups)
A list of one or more segment groups that apply to the segment.
|
SegmentResponse |
withSegmentType(SegmentType segmentType)
The segment type.
|
SegmentResponse |
withSegmentType(String segmentType)
The segment type.
|
SegmentResponse |
withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.
|
SegmentResponse |
withVersion(Integer version)
The version number of the segment.
|
public void setApplicationId(String applicationId)
The unique identifier for the application that the segment is associated with.
applicationId
- The unique identifier for the application that the segment is associated with.public String getApplicationId()
The unique identifier for the application that the segment is associated with.
public SegmentResponse withApplicationId(String applicationId)
The unique identifier for the application that the segment is associated with.
applicationId
- The unique identifier for the application that the segment is associated with.public void setArn(String arn)
The Amazon Resource Name (ARN) of the segment.
arn
- The Amazon Resource Name (ARN) of the segment.public String getArn()
The Amazon Resource Name (ARN) of the segment.
public SegmentResponse withArn(String arn)
The Amazon Resource Name (ARN) of the segment.
arn
- The Amazon Resource Name (ARN) of the segment.public void setCreationDate(String creationDate)
The date and time when the segment was created.
creationDate
- The date and time when the segment was created.public String getCreationDate()
The date and time when the segment was created.
public SegmentResponse withCreationDate(String creationDate)
The date and time when the segment was created.
creationDate
- The date and time when the segment was created.public void setDimensions(SegmentDimensions dimensions)
The dimension settings for the segment.
dimensions
- The dimension settings for the segment.public SegmentDimensions getDimensions()
The dimension settings for the segment.
public SegmentResponse withDimensions(SegmentDimensions dimensions)
The dimension settings for the segment.
dimensions
- The dimension settings for the segment.public void setId(String id)
The unique identifier for the segment.
id
- The unique identifier for the segment.public String getId()
The unique identifier for the segment.
public SegmentResponse withId(String id)
The unique identifier for the segment.
id
- The unique identifier for the segment.public void setImportDefinition(SegmentImportResource importDefinition)
The settings for the import job that's associated with the segment.
importDefinition
- The settings for the import job that's associated with the segment.public SegmentImportResource getImportDefinition()
The settings for the import job that's associated with the segment.
public SegmentResponse withImportDefinition(SegmentImportResource importDefinition)
The settings for the import job that's associated with the segment.
importDefinition
- The settings for the import job that's associated with the segment.public void setLastModifiedDate(String lastModifiedDate)
The date and time when the segment was last modified.
lastModifiedDate
- The date and time when the segment was last modified.public String getLastModifiedDate()
The date and time when the segment was last modified.
public SegmentResponse withLastModifiedDate(String lastModifiedDate)
The date and time when the segment was last modified.
lastModifiedDate
- The date and time when the segment was last modified.public void setName(String name)
The name of the segment.
name
- The name of the segment.public String getName()
The name of the segment.
public SegmentResponse withName(String name)
The name of the segment.
name
- The name of the segment.public void setSegmentGroups(SegmentGroupList segmentGroups)
A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
segmentGroups
- A list of one or more segment groups that apply to the segment. Each segment group consists of zero or
more base segments and the dimensions that are applied to those base segments.public SegmentGroupList getSegmentGroups()
A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
public SegmentResponse withSegmentGroups(SegmentGroupList segmentGroups)
A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
segmentGroups
- A list of one or more segment groups that apply to the segment. Each segment group consists of zero or
more base segments and the dimensions that are applied to those base segments.public void setSegmentType(String segmentType)
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
segmentType
- The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public String getSegmentType()
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public SegmentResponse withSegmentType(String segmentType)
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
segmentType
- The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public void setSegmentType(SegmentType segmentType)
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
segmentType
- The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public SegmentResponse withSegmentType(SegmentType segmentType)
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
segmentType
- The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.
SegmentType
public Map<String,String> getTags()
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
public void setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
tags
- A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.
Each tag consists of a required tag key and an associated tag value.public SegmentResponse withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
tags
- A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.
Each tag consists of a required tag key and an associated tag value.public SegmentResponse addTagsEntry(String key, String value)
public SegmentResponse clearTagsEntries()
public void setVersion(Integer version)
The version number of the segment.
version
- The version number of the segment.public Integer getVersion()
The version number of the segment.
public SegmentResponse withVersion(Integer version)
The version number of the segment.
version
- The version number of the segment.public String toString()
toString
in class Object
Object.toString()
public SegmentResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.