public class DescribeCommunicationsRequest extends AmazonWebServiceRequest implements Serializable
DescribeCommunications operation
.
Returns communications regarding the support case. You can use the
AfterTime
and BeforeTime
parameters to
filter by date. The CaseId
parameter enables you to
identify a specific case by its CaseId
value.
The MaxResults
and NextToken
parameters
enable you 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 |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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.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.public String getAfterTime()
public void setAfterTime(String afterTime)
afterTime
- The start date for a filtered date search on support case
communications.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.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 Object
Object.toString()
Copyright © 2014. All rights reserved.