public class SegmentResponse extends Object implements Serializable
| Constructor and Description |
|---|
SegmentResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application to which the segment applies.
|
String |
getCreationDate()
The date the segment was created in ISO 8601 format.
|
SegmentDimensions |
getDimensions()
The segment dimensions attributes.
|
String |
getId()
The unique segment ID.
|
SegmentImportResource |
getImportDefinition()
The import job settings.
|
String |
getLastModifiedDate()
The date the segment was last updated in ISO 8601 format.
|
String |
getName()
The name of segment
|
String |
getSegmentType()
The segment type: DIMENSIONAL – A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
Integer |
getVersion()
The segment version number.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application to which the segment applies.
|
void |
setCreationDate(String creationDate)
The date the segment was created in ISO 8601 format.
|
void |
setDimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
void |
setId(String id)
The unique segment ID.
|
void |
setImportDefinition(SegmentImportResource importDefinition)
The import job settings.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date the segment was last updated in ISO 8601 format.
|
void |
setName(String name)
The name of segment
|
void |
setSegmentType(SegmentType segmentType)
The segment type: DIMENSIONAL – A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
void |
setSegmentType(String segmentType)
The segment type: DIMENSIONAL – A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
void |
setVersion(Integer version)
The segment version number.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentResponse |
withApplicationId(String applicationId)
The ID of the application to which the segment applies.
|
SegmentResponse |
withCreationDate(String creationDate)
The date the segment was created in ISO 8601 format.
|
SegmentResponse |
withDimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
SegmentResponse |
withId(String id)
The unique segment ID.
|
SegmentResponse |
withImportDefinition(SegmentImportResource importDefinition)
The import job settings.
|
SegmentResponse |
withLastModifiedDate(String lastModifiedDate)
The date the segment was last updated in ISO 8601 format.
|
SegmentResponse |
withName(String name)
The name of segment
|
SegmentResponse |
withSegmentType(SegmentType segmentType)
The segment type: DIMENSIONAL – A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
SegmentResponse |
withSegmentType(String segmentType)
The segment type: DIMENSIONAL – A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
SegmentResponse |
withVersion(Integer version)
The segment version number.
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The ID of the application to which the segment
applies.public SegmentResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The ID of the application to which the segment
applies.public String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - The date the segment was created in ISO 8601 format.public SegmentResponse withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The date the segment was created in ISO 8601 format.public SegmentDimensions getDimensions()
public void setDimensions(SegmentDimensions dimensions)
dimensions - The segment dimensions attributes.public SegmentResponse withDimensions(SegmentDimensions dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions - The segment dimensions attributes.public String getId()
public void setId(String id)
id - The unique segment ID.public SegmentResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - The unique segment ID.public SegmentImportResource getImportDefinition()
public void setImportDefinition(SegmentImportResource importDefinition)
importDefinition - The import job settings.public SegmentResponse withImportDefinition(SegmentImportResource importDefinition)
Returns a reference to this object so that method calls can be chained together.
importDefinition - The import job settings.public String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - The date the segment was last updated in ISO 8601
format.public SegmentResponse withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date the segment was last updated in ISO 8601
format.public String getName()
public void setName(String name)
name - The name of segmentpublic SegmentResponse withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name of segmentpublic String getSegmentType()
Constraints:
Allowed Values: DIMENSIONAL, IMPORT
SegmentTypepublic void setSegmentType(String segmentType)
Constraints:
Allowed Values: DIMENSIONAL, IMPORT
segmentType - The segment type: DIMENSIONAL – A dynamic segment
built from selection criteria based on endpoint data reported
by your app. You create this type of segment by using the
segment builder in the Amazon Pinpoint console or by making a
POST request to the segments resource. IMPORT – A static
segment built from an imported set of endpoint definitions.
You create this type of segment by importing a segment in the
Amazon Pinpoint console or by making a POST request to the
jobs/import resource.SegmentTypepublic SegmentResponse withSegmentType(String segmentType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DIMENSIONAL, IMPORT
segmentType - The segment type: DIMENSIONAL – A dynamic segment
built from selection criteria based on endpoint data reported
by your app. You create this type of segment by using the
segment builder in the Amazon Pinpoint console or by making a
POST request to the segments resource. IMPORT – A static
segment built from an imported set of endpoint definitions.
You create this type of segment by importing a segment in the
Amazon Pinpoint console or by making a POST request to the
jobs/import resource.SegmentTypepublic void setSegmentType(SegmentType segmentType)
Constraints:
Allowed Values: DIMENSIONAL, IMPORT
segmentType - The segment type: DIMENSIONAL – A dynamic segment
built from selection criteria based on endpoint data reported
by your app. You create this type of segment by using the
segment builder in the Amazon Pinpoint console or by making a
POST request to the segments resource. IMPORT – A static
segment built from an imported set of endpoint definitions.
You create this type of segment by importing a segment in the
Amazon Pinpoint console or by making a POST request to the
jobs/import resource.SegmentTypepublic SegmentResponse withSegmentType(SegmentType segmentType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DIMENSIONAL, IMPORT
segmentType - The segment type: DIMENSIONAL – A dynamic segment
built from selection criteria based on endpoint data reported
by your app. You create this type of segment by using the
segment builder in the Amazon Pinpoint console or by making a
POST request to the segments resource. IMPORT – A static
segment built from an imported set of endpoint definitions.
You create this type of segment by importing a segment in the
Amazon Pinpoint console or by making a POST request to the
jobs/import resource.SegmentTypepublic Integer getVersion()
public void setVersion(Integer version)
version - The segment version number.public SegmentResponse withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - The segment version number.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.