@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchCasesResponseItem extends Object implements Serializable, Cloneable, StructuredPojo
A list of items that represent cases.
| Constructor and Description |
|---|
SearchCasesResponseItem() |
| Modifier and Type | Method and Description |
|---|---|
SearchCasesResponseItem |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SearchCasesResponseItem |
clearTagsEntries()
Removes all the entries added into Tags.
|
SearchCasesResponseItem |
clone() |
boolean |
equals(Object obj) |
String |
getCaseId()
A unique identifier of the case.
|
List<FieldValue> |
getFields()
List of case field values.
|
Map<String,String> |
getTags()
A map of of key-value pairs that represent tags on a resource.
|
String |
getTemplateId()
A unique identifier of a template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCaseId(String caseId)
A unique identifier of the case.
|
void |
setFields(Collection<FieldValue> fields)
List of case field values.
|
void |
setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
void |
setTemplateId(String templateId)
A unique identifier of a template.
|
String |
toString()
Returns a string representation of this object.
|
SearchCasesResponseItem |
withCaseId(String caseId)
A unique identifier of the case.
|
SearchCasesResponseItem |
withFields(Collection<FieldValue> fields)
List of case field values.
|
SearchCasesResponseItem |
withFields(FieldValue... fields)
List of case field values.
|
SearchCasesResponseItem |
withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
SearchCasesResponseItem |
withTemplateId(String templateId)
A unique identifier of a template.
|
public void setCaseId(String caseId)
A unique identifier of the case.
caseId - A unique identifier of the case.public String getCaseId()
A unique identifier of the case.
public SearchCasesResponseItem withCaseId(String caseId)
A unique identifier of the case.
caseId - A unique identifier of the case.public List<FieldValue> getFields()
List of case field values.
public void setFields(Collection<FieldValue> fields)
List of case field values.
fields - List of case field values.public SearchCasesResponseItem withFields(FieldValue... fields)
List of case field values.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection) or withFields(java.util.Collection) if you want to override the
existing values.
fields - List of case field values.public SearchCasesResponseItem withFields(Collection<FieldValue> fields)
List of case field values.
fields - List of case field values.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 SearchCasesResponseItem 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 SearchCasesResponseItem addTagsEntry(String key, String value)
public SearchCasesResponseItem clearTagsEntries()
public void setTemplateId(String templateId)
A unique identifier of a template.
templateId - A unique identifier of a template.public String getTemplateId()
A unique identifier of a template.
public SearchCasesResponseItem withTemplateId(String templateId)
A unique identifier of a template.
templateId - A unique identifier of a template.public String toString()
toString in class ObjectObject.toString()public SearchCasesResponseItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.