public class SegmentResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SegmentResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The ID of the application that the segment applies to.
|
java.lang.String |
getCreationDate()
The date and time when the segment was created.
|
SegmentDimensions |
getDimensions()
The segment dimensions attributes.
|
java.lang.String |
getId()
The unique segment ID.
|
SegmentImportResource |
getImportDefinition()
The import job settings.
|
java.lang.String |
getLastModifiedDate()
The date and time when the segment was last modified.
|
java.lang.String |
getName()
The name of the segment.
|
SegmentGroupList |
getSegmentGroups()
A segment group, which consists of zero or more source segments, plus
dimensions that are applied to those source segments.
|
java.lang.String |
getSegmentType()
The segment type: DIMENSIONAL - A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
java.lang.Integer |
getVersion()
The segment version number.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The ID of the application that the segment applies to.
|
void |
setCreationDate(java.lang.String creationDate)
The date and time when the segment was created.
|
void |
setDimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
void |
setId(java.lang.String id)
The unique segment ID.
|
void |
setImportDefinition(SegmentImportResource importDefinition)
The import job settings.
|
void |
setLastModifiedDate(java.lang.String lastModifiedDate)
The date and time when the segment was last modified.
|
void |
setName(java.lang.String name)
The name of the segment.
|
void |
setSegmentGroups(SegmentGroupList segmentGroups)
A segment group, which consists of zero or more source segments, plus
dimensions that are applied to those source segments.
|
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(java.lang.String segmentType)
The segment type: DIMENSIONAL - A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
void |
setVersion(java.lang.Integer version)
The segment version number.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentResponse |
withApplicationId(java.lang.String applicationId)
The ID of the application that the segment applies to.
|
SegmentResponse |
withCreationDate(java.lang.String creationDate)
The date and time when the segment was created.
|
SegmentResponse |
withDimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
SegmentResponse |
withId(java.lang.String id)
The unique segment ID.
|
SegmentResponse |
withImportDefinition(SegmentImportResource importDefinition)
The import job settings.
|
SegmentResponse |
withLastModifiedDate(java.lang.String lastModifiedDate)
The date and time when the segment was last modified.
|
SegmentResponse |
withName(java.lang.String name)
The name of the segment.
|
SegmentResponse |
withSegmentGroups(SegmentGroupList segmentGroups)
A segment group, which consists of zero or more source segments, plus
dimensions that are applied to those source segments.
|
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(java.lang.String segmentType)
The segment type: DIMENSIONAL - A dynamic segment built from selection
criteria based on endpoint data reported by your app.
|
SegmentResponse |
withVersion(java.lang.Integer version)
The segment version number.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The ID of the application that the segment applies
to.public SegmentResponse withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The ID of the application that the segment applies
to.public java.lang.String getCreationDate()
public void setCreationDate(java.lang.String creationDate)
creationDate
- The date and time when the segment was created.public SegmentResponse withCreationDate(java.lang.String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date and time when the segment was created.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 java.lang.String getId()
public void setId(java.lang.String id)
id
- The unique segment ID.public SegmentResponse withId(java.lang.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 java.lang.String getLastModifiedDate()
public void setLastModifiedDate(java.lang.String lastModifiedDate)
lastModifiedDate
- The date and time when the segment was last
modified.public SegmentResponse withLastModifiedDate(java.lang.String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date and time when the segment was last
modified.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the segment.public SegmentResponse withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the segment.public SegmentGroupList getSegmentGroups()
public void setSegmentGroups(SegmentGroupList segmentGroups)
segmentGroups
- A segment group, which consists of zero or more
source segments, plus dimensions that are applied to those
source segments.public SegmentResponse withSegmentGroups(SegmentGroupList segmentGroups)
Returns a reference to this object so that method calls can be chained together.
segmentGroups
- A segment group, which consists of zero or more
source segments, plus dimensions that are applied to those
source segments.public java.lang.String getSegmentType()
Constraints:
Allowed Values: DIMENSIONAL, IMPORT
SegmentType
public void setSegmentType(java.lang.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.SegmentType
public SegmentResponse withSegmentType(java.lang.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.SegmentType
public 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.SegmentType
public 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.SegmentType
public java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
version
- The segment version number.public SegmentResponse withVersion(java.lang.Integer version)
Returns a reference to this object so that method calls can be chained together.
version
- The segment version number.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.