public class DescribeCasesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeCases operation.
Returns a list of cases that you specify by passing one or more case
IDs. In addition, you can filter the cases by date by setting values
for the AfterTime and BeforeTime request
parameters. You can set values for the
IncludeResolvedCases and
IncludeCommunications request parameters to control how
much information is returned.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
The response returns the following in JSON format:
NextToken values, which specify where to
paginate the returned records represented by the
CaseDetails objects.NOOP| Constructor and Description |
|---|
DescribeCasesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeCasesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAfterTime()
The start date for a filtered date search on support case
communications.
|
String |
getBeforeTime()
The end date for a filtered date search on support case
communications.
|
List<String> |
getCaseIdList()
A list of ID numbers of the support cases you want returned.
|
String |
getDisplayId()
The ID displayed for a case in the AWS Support Center user interface.
|
Boolean |
getIncludeCommunications()
Specifies whether communications should be included in the
DescribeCases results.
|
Boolean |
getIncludeResolvedCases()
Specifies whether resolved support cases should be included in the
DescribeCases results.
|
String |
getLanguage()
The ISO 639-1 code for the language in which AWS provides support.
|
Integer |
getMaxResults()
The maximum number of results to return before paginating.
|
String |
getNextToken()
A resumption point for pagination.
|
int |
hashCode() |
Boolean |
isIncludeCommunications()
Specifies whether communications should be included in the
DescribeCases results.
|
Boolean |
isIncludeResolvedCases()
Specifies whether resolved support cases should be included in the
DescribeCases results.
|
void |
setAfterTime(String afterTime)
The start date for a filtered date search on support case
communications.
|
void |
setBeforeTime(String beforeTime)
The end date for a filtered date search on support case
communications.
|
void |
setCaseIdList(Collection<String> caseIdList)
A list of ID numbers of the support cases you want returned.
|
void |
setDisplayId(String displayId)
The ID displayed for a case in the AWS Support Center user interface.
|
void |
setIncludeCommunications(Boolean includeCommunications)
Specifies whether communications should be included in the
DescribeCases results.
|
void |
setIncludeResolvedCases(Boolean includeResolvedCases)
Specifies whether resolved support cases should be included in the
DescribeCases results.
|
void |
setLanguage(String language)
The ISO 639-1 code for the language in which AWS provides support.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return before paginating.
|
void |
setNextToken(String nextToken)
A resumption point for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCasesRequest |
withAfterTime(String afterTime)
The start date for a filtered date search on support case
communications.
|
DescribeCasesRequest |
withBeforeTime(String beforeTime)
The end date for a filtered date search on support case
communications.
|
DescribeCasesRequest |
withCaseIdList(Collection<String> caseIdList)
A list of ID numbers of the support cases you want returned.
|
DescribeCasesRequest |
withCaseIdList(String... caseIdList)
A list of ID numbers of the support cases you want returned.
|
DescribeCasesRequest |
withDisplayId(String displayId)
The ID displayed for a case in the AWS Support Center user interface.
|
DescribeCasesRequest |
withIncludeCommunications(Boolean includeCommunications)
Specifies whether communications should be included in the
DescribeCases results.
|
DescribeCasesRequest |
withIncludeResolvedCases(Boolean includeResolvedCases)
Specifies whether resolved support cases should be included in the
DescribeCases results.
|
DescribeCasesRequest |
withLanguage(String language)
The ISO 639-1 code for the language in which AWS provides support.
|
DescribeCasesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return before paginating.
|
DescribeCasesRequest |
withNextToken(String nextToken)
A resumption point for pagination.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getCaseIdList()
Constraints:
Length: 0 - 100
public void setCaseIdList(Collection<String> caseIdList)
Constraints:
Length: 0 - 100
caseIdList - A list of ID numbers of the support cases you want returned. The
maximum number of cases is 100.public DescribeCasesRequest withCaseIdList(String... caseIdList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
caseIdList - A list of ID numbers of the support cases you want returned. The
maximum number of cases is 100.public DescribeCasesRequest withCaseIdList(Collection<String> caseIdList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
caseIdList - A list of ID numbers of the support cases you want returned. The
maximum number of cases is 100.public String getDisplayId()
public void setDisplayId(String displayId)
displayId - The ID displayed for a case in the AWS Support Center user interface.public DescribeCasesRequest withDisplayId(String displayId)
Returns a reference to this object so that method calls can be chained together.
displayId - The ID displayed for a case in the AWS Support Center user interface.public String getAfterTime()
public void setAfterTime(String afterTime)
afterTime - The start date for a filtered date search on support case
communications. Case communications are available for 12 months after
creation.public DescribeCasesRequest withAfterTime(String afterTime)
Returns a reference to this object so that method calls can be chained together.
afterTime - The start date for a filtered date search on support case
communications. Case communications are available for 12 months after
creation.public String getBeforeTime()
public void setBeforeTime(String beforeTime)
beforeTime - The end date for a filtered date search on support case
communications. Case communications are available for 12 months after
creation.public DescribeCasesRequest withBeforeTime(String beforeTime)
Returns a reference to this object so that method calls can be chained together.
beforeTime - The end date for a filtered date search on support case
communications. Case communications are available for 12 months after
creation.public Boolean isIncludeResolvedCases()
public void setIncludeResolvedCases(Boolean includeResolvedCases)
includeResolvedCases - Specifies whether resolved support cases should be included in the
DescribeCases results. The default is false.public DescribeCasesRequest withIncludeResolvedCases(Boolean includeResolvedCases)
Returns a reference to this object so that method calls can be chained together.
includeResolvedCases - Specifies whether resolved support cases should be included in the
DescribeCases results. The default is false.public Boolean getIncludeResolvedCases()
public String getNextToken()
public void setNextToken(String nextToken)
nextToken - A resumption point for pagination.public DescribeCasesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - A resumption point for pagination.public Integer getMaxResults()
Constraints:
Range: 10 - 100
public void setMaxResults(Integer maxResults)
Constraints:
Range: 10 - 100
maxResults - The maximum number of results to return before paginating.public DescribeCasesRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 10 - 100
maxResults - The maximum number of results to return before paginating.public String getLanguage()
public void setLanguage(String language)
language - The ISO 639-1 code for the language in which AWS provides support. AWS
Support currently supports English ("en") and Japanese ("ja").
Language parameters must be passed explicitly for operations that take
them.public DescribeCasesRequest withLanguage(String language)
Returns a reference to this object so that method calls can be chained together.
language - The ISO 639-1 code for the language in which AWS provides support. AWS
Support currently supports English ("en") and Japanese ("ja").
Language parameters must be passed explicitly for operations that take
them.public Boolean isIncludeCommunications()
public void setIncludeCommunications(Boolean includeCommunications)
includeCommunications - Specifies whether communications should be included in the
DescribeCases results. The default is true.public DescribeCasesRequest withIncludeCommunications(Boolean includeCommunications)
Returns a reference to this object so that method calls can be chained together.
includeCommunications - Specifies whether communications should be included in the
DescribeCases results. The default is true.public Boolean getIncludeCommunications()
public String toString()
toString in class ObjectObject.toString()public DescribeCasesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.