@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 |
addTagsEntry(String key,
String value) |
SegmentResponse |
clearTagsEntries()
Removes all the entries added into Tags.
|
SegmentResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application that the segment applies to.
|
String |
getArn()
The arn for the segment.
|
String |
getCreationDate()
The date and time when the segment was created.
|
SegmentDimensions |
getDimensions()
The segment dimensions attributes.
|
String |
getId()
The unique segment ID.
|
SegmentImportResource |
getImportDefinition()
The import job settings.
|
String |
getLastModifiedDate()
The date and time when the segment was last modified.
|
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.
|
String |
getSegmentType()
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported
by your app.
|
Map<String,String> |
getTags()
The Tags for the segment.
|
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 that the segment applies to.
|
void |
setArn(String arn)
The arn for the segment.
|
void |
setCreationDate(String creationDate)
The date and time when the segment was created.
|
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 and time when the segment was last modified.
|
void |
setName(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(String segmentType)
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported
by your app.
|
void |
setTags(Map<String,String> tags)
The Tags for the segment.
|
void |
setVersion(Integer version)
The segment version number.
|
String |
toString()
Returns a string representation of this object.
|
SegmentResponse |
withApplicationId(String applicationId)
The ID of the application that the segment applies to.
|
SegmentResponse |
withArn(String arn)
The arn for the segment.
|
SegmentResponse |
withCreationDate(String creationDate)
The date and time when the segment was created.
|
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 and time when the segment was last modified.
|
SegmentResponse |
withName(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(String segmentType)
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported
by your app.
|
SegmentResponse |
withTags(Map<String,String> tags)
The Tags for the segment.
|
SegmentResponse |
withVersion(Integer version)
The segment version number.
|
public void setApplicationId(String applicationId)
applicationId
- The ID of the application that the segment applies to.public String getApplicationId()
public SegmentResponse withApplicationId(String applicationId)
applicationId
- The ID of the application that the segment applies to.public void setArn(String arn)
arn
- The arn for the segment.public String getArn()
public SegmentResponse withArn(String arn)
arn
- The arn for the segment.public void setCreationDate(String creationDate)
creationDate
- The date and time when the segment was created.public String getCreationDate()
public SegmentResponse withCreationDate(String creationDate)
creationDate
- The date and time when the segment was created.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 and time when the segment was last modified.public String getLastModifiedDate()
public SegmentResponse withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date and time when the segment was last modified.public void setName(String name)
name
- The name of the segment.public String getName()
public SegmentResponse withName(String name)
name
- The name of the segment.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 SegmentGroupList getSegmentGroups()
public SegmentResponse withSegmentGroups(SegmentGroupList segmentGroups)
segmentGroups
- A segment group, which consists of zero or more source segments, plus dimensions that are applied to those
source segments.public 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 Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- The Tags for the segment.public SegmentResponse withTags(Map<String,String> tags)
tags
- The Tags for the segment.public SegmentResponse addTagsEntry(String key, String value)
public SegmentResponse clearTagsEntries()
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.