@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCaseResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCaseResult() |
Modifier and Type | Method and Description |
---|---|
GetCaseResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetCaseResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetCaseResult |
clone() |
boolean |
equals(Object obj) |
List<FieldValue> |
getFields()
A list of detailed field information.
|
String |
getNextToken()
The token for the next set of results.
|
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 |
setFields(Collection<FieldValue> fields)
A list of detailed field information.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
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.
|
GetCaseResult |
withFields(Collection<FieldValue> fields)
A list of detailed field information.
|
GetCaseResult |
withFields(FieldValue... fields)
A list of detailed field information.
|
GetCaseResult |
withNextToken(String nextToken)
The token for the next set of results.
|
GetCaseResult |
withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
GetCaseResult |
withTemplateId(String templateId)
A unique identifier of a template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FieldValue> getFields()
A list of detailed field information.
public void setFields(Collection<FieldValue> fields)
A list of detailed field information.
fields
- A list of detailed field information.public GetCaseResult withFields(FieldValue... fields)
A list of detailed field information.
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
- A list of detailed field information.public GetCaseResult withFields(Collection<FieldValue> fields)
A list of detailed field information.
fields
- A list of detailed field information.public void setNextToken(String nextToken)
The token for the next set of results. This is null if there are no more results to return.
nextToken
- The token for the next set of results. This is null if there are no more results to return.public String getNextToken()
The token for the next set of results. This is null if there are no more results to return.
public GetCaseResult withNextToken(String nextToken)
The token for the next set of results. This is null if there are no more results to return.
nextToken
- The token for the next set of results. This is null if there are no more results to return.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 GetCaseResult 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 GetCaseResult addTagsEntry(String key, String value)
public GetCaseResult 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 GetCaseResult withTemplateId(String templateId)
A unique identifier of a template.
templateId
- A unique identifier of a template.public String toString()
toString
in class Object
Object.toString()
public GetCaseResult clone()