public class DescribeCommunicationsRequest extends AmazonWebServiceRequest implements Serializable
DescribeCommunications operation
.
This action 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 number.
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.
Constructor and Description |
---|
DescribeCommunicationsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAfterTime()
Start date for a filtered date search on support case communications.
|
String |
getBeforeTime()
End date for a filtered date search on support case communications.
|
String |
getCaseId()
String that indicates the AWS Support caseID requested or returned in
the call.
|
Integer |
getMaxResults()
Integer that sets the maximum number of results to return before
paginating.
|
String |
getNextToken()
Defines a resumption point for pagination.
|
int |
hashCode() |
void |
setAfterTime(String afterTime)
Start date for a filtered date search on support case communications.
|
void |
setBeforeTime(String beforeTime)
End date for a filtered date search on support case communications.
|
void |
setCaseId(String caseId)
String that indicates the AWS Support caseID requested or returned in
the call.
|
void |
setMaxResults(Integer maxResults)
Integer that sets the maximum number of results to return before
paginating.
|
void |
setNextToken(String nextToken)
Defines a resumption point for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCommunicationsRequest |
withAfterTime(String afterTime)
Start date for a filtered date search on support case communications.
|
DescribeCommunicationsRequest |
withBeforeTime(String beforeTime)
End date for a filtered date search on support case communications.
|
DescribeCommunicationsRequest |
withCaseId(String caseId)
String that indicates the AWS Support caseID requested or returned in
the call.
|
DescribeCommunicationsRequest |
withMaxResults(Integer maxResults)
Integer that sets the maximum number of results to return before
paginating.
|
DescribeCommunicationsRequest |
withNextToken(String nextToken)
Defines a resumption point for pagination.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getCaseId()
public void setCaseId(String caseId)
caseId
- String that indicates the AWS Support caseID requested or returned in
the call. The caseID is an alphanumeric string formatted as shown in
this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47public DescribeCommunicationsRequest withCaseId(String caseId)
Returns a reference to this object so that method calls can be chained together.
caseId
- String that indicates the AWS Support caseID requested or returned in
the call. The caseID is an alphanumeric string formatted as shown in
this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47public String getBeforeTime()
public void setBeforeTime(String beforeTime)
beforeTime
- 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
- End date for a filtered date search on support case communications.public String getAfterTime()
public void setAfterTime(String afterTime)
afterTime
- 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
- Start date for a filtered date search on support case communications.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- Defines 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
- Defines a resumption point for pagination.public Integer getMaxResults()
Constraints:
Range: 10 - 100
public void setMaxResults(Integer maxResults)
Constraints:
Range: 10 - 100
maxResults
- Integer that sets 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
- Integer that sets the maximum number of results to return before
paginating.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.