public class DescribeCommunicationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeCommunications operation.
Returns communications (and attachments) for one or more support
cases. You can use the AfterTime and
BeforeTime parameters to filter by date. You can use the
CaseId parameter to restrict the results to a particular
case.
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.
You can use the MaxResults and NextToken
parameters to control the pagination of the result set. Set
MaxResults to the number of cases you want displayed on
each page, and use NextToken to specify the resumption of
pagination.
NOOP| Constructor and Description |
|---|
DescribeCommunicationsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeCommunicationsRequest |
clone() |
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.
|
String |
getCaseId()
The AWS Support case ID requested or returned in the call.
|
Integer |
getMaxResults()
The maximum number of results to return before paginating.
|
String |
getNextToken()
A resumption point for pagination.
|
int |
hashCode() |
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 |
setCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
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.
|
DescribeCommunicationsRequest |
withAfterTime(String afterTime)
The start date for a filtered date search on support case
communications.
|
DescribeCommunicationsRequest |
withBeforeTime(String beforeTime)
The end date for a filtered date search on support case
communications.
|
DescribeCommunicationsRequest |
withCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
DescribeCommunicationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return before paginating.
|
DescribeCommunicationsRequest |
withNextToken(String nextToken)
A resumption point for pagination.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCaseId()
public void setCaseId(String caseId)
caseId - The AWS Support case ID requested or returned in the call. The case ID
is an alphanumeric string formatted as shown in this example:
case-12345678910-2013-c4c1d2bf33c5cf47public DescribeCommunicationsRequest withCaseId(String caseId)
Returns a reference to this object so that method calls can be chained together.
caseId - The AWS Support case ID requested or returned in the call. The case ID
is an alphanumeric string formatted as shown in this example:
case-12345678910-2013-c4c1d2bf33c5cf47public 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 DescribeCommunicationsRequest 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 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 DescribeCommunicationsRequest 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 getNextToken()
public void setNextToken(String nextToken)
nextToken - A resumption point for pagination.public DescribeCommunicationsRequest 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 DescribeCommunicationsRequest 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 toString()
toString in class ObjectObject.toString()public DescribeCommunicationsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.