@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SegmentResponse() |
Modifier and Type | Method and Description |
---|---|
SegmentResponse |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setApplicationId(String applicationId)
applicationId
- The ID of the application to which the segment applies.public String getApplicationId()
public SegmentResponse withApplicationId(String applicationId)
applicationId
- The ID of the application to which the segment applies.public void setCreationDate(String creationDate)
creationDate
- The date the segment was created in ISO 8601 format.public String getCreationDate()
public SegmentResponse withCreationDate(String creationDate)
creationDate
- The date the segment was created in ISO 8601 format.public void setDimensions(SegmentDimensions dimensions)
dimensions
- The segment dimensions attributes.public SegmentDimensions getDimensions()
public SegmentResponse withDimensions(SegmentDimensions dimensions)
dimensions
- The segment dimensions attributes.public void setId(String id)
id
- The unique segment ID.public String getId()
public SegmentResponse withId(String id)
id
- The unique segment ID.public void setImportDefinition(SegmentImportResource importDefinition)
importDefinition
- The import job settings.public SegmentImportResource getImportDefinition()
public SegmentResponse withImportDefinition(SegmentImportResource importDefinition)
importDefinition
- The import job settings.public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date the segment was last updated in ISO 8601 format.public String getLastModifiedDate()
public SegmentResponse withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date the segment was last updated in ISO 8601 format.public void setName(String name)
name
- The name of segmentpublic String getName()
public SegmentResponse withName(String name)
name
- The name of segmentpublic void setSegmentType(String segmentType)
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 String getSegmentType()
SegmentType
public SegmentResponse withSegmentType(String segmentType)
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)
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)
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 setVersion(Integer version)
version
- The segment version number.public Integer getVersion()
public SegmentResponse withVersion(Integer version)
version
- The segment version number.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.