public class DescribeCasesRequest extends AmazonWebServiceRequest implements Serializable
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.
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 |
---|---|
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()
Returns the value of the IncludeCommunications property for this
object.
|
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()
Returns the value of the IncludeCommunications property for this
object.
|
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)
Sets the value of the IncludeCommunications property for this object.
|
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)
Sets the value of the IncludeCommunications property for this object.
|
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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.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.public String getBeforeTime()
public void setBeforeTime(String beforeTime)
beforeTime
- The end date for a filtered date search on support case
communications.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.public Boolean isIncludeResolvedCases()
public void setIncludeResolvedCases(Boolean includeResolvedCases)
includeResolvedCases
- Specifies whether resolved support cases should be included in the
DescribeCases results.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.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
- The new value for the IncludeCommunications property for this object.public DescribeCasesRequest withIncludeCommunications(Boolean includeCommunications)
Returns a reference to this object so that method calls can be chained together.
includeCommunications
- The new value for the IncludeCommunications property for this object.public Boolean getIncludeCommunications()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.