@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchRelatedItemsResponseItem extends Object implements Serializable, Cloneable, StructuredPojo
A list of items that represent RelatedItems.
Constructor and Description |
---|
SearchRelatedItemsResponseItem() |
Modifier and Type | Method and Description |
---|---|
SearchRelatedItemsResponseItem |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SearchRelatedItemsResponseItem |
clearTagsEntries()
Removes all the entries added into Tags.
|
SearchRelatedItemsResponseItem |
clone() |
boolean |
equals(Object obj) |
Date |
getAssociationTime()
Time at which a related item was associated with a case.
|
RelatedItemContent |
getContent()
Represents the content of a particular type of related item.
|
String |
getRelatedItemId()
Unique identifier of a related item.
|
Map<String,String> |
getTags()
A map of of key-value pairs that represent tags on a resource.
|
String |
getType()
Type of a related item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationTime(Date associationTime)
Time at which a related item was associated with a case.
|
void |
setContent(RelatedItemContent content)
Represents the content of a particular type of related item.
|
void |
setRelatedItemId(String relatedItemId)
Unique identifier of a related item.
|
void |
setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
void |
setType(String type)
Type of a related item.
|
String |
toString()
Returns a string representation of this object.
|
SearchRelatedItemsResponseItem |
withAssociationTime(Date associationTime)
Time at which a related item was associated with a case.
|
SearchRelatedItemsResponseItem |
withContent(RelatedItemContent content)
Represents the content of a particular type of related item.
|
SearchRelatedItemsResponseItem |
withRelatedItemId(String relatedItemId)
Unique identifier of a related item.
|
SearchRelatedItemsResponseItem |
withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
SearchRelatedItemsResponseItem |
withType(RelatedItemType type)
Type of a related item.
|
SearchRelatedItemsResponseItem |
withType(String type)
Type of a related item.
|
public void setAssociationTime(Date associationTime)
Time at which a related item was associated with a case.
associationTime
- Time at which a related item was associated with a case.public Date getAssociationTime()
Time at which a related item was associated with a case.
public SearchRelatedItemsResponseItem withAssociationTime(Date associationTime)
Time at which a related item was associated with a case.
associationTime
- Time at which a related item was associated with a case.public void setContent(RelatedItemContent content)
Represents the content of a particular type of related item.
content
- Represents the content of a particular type of related item.public RelatedItemContent getContent()
Represents the content of a particular type of related item.
public SearchRelatedItemsResponseItem withContent(RelatedItemContent content)
Represents the content of a particular type of related item.
content
- Represents the content of a particular type of related item.public void setRelatedItemId(String relatedItemId)
Unique identifier of a related item.
relatedItemId
- Unique identifier of a related item.public String getRelatedItemId()
Unique identifier of a related item.
public SearchRelatedItemsResponseItem withRelatedItemId(String relatedItemId)
Unique identifier of a related item.
relatedItemId
- Unique identifier of a related item.public Map<String,String> getTags()
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public SearchRelatedItemsResponseItem withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public SearchRelatedItemsResponseItem addTagsEntry(String key, String value)
public SearchRelatedItemsResponseItem clearTagsEntries()
public void setType(String type)
Type of a related item.
type
- Type of a related item.RelatedItemType
public String getType()
Type of a related item.
RelatedItemType
public SearchRelatedItemsResponseItem withType(String type)
Type of a related item.
type
- Type of a related item.RelatedItemType
public SearchRelatedItemsResponseItem withType(RelatedItemType type)
Type of a related item.
type
- Type of a related item.RelatedItemType
public String toString()
toString
in class Object
Object.toString()
public SearchRelatedItemsResponseItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.