@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListEventsRequest() |
Modifier and Type | Method and Description |
---|---|
ListEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account.
|
ListEventsFilters |
getFilters()
A
ListEventsFilters object used to specify which events to return. |
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account.
|
void |
setFilters(ListEventsFilters filters)
A
ListEventsFilters object used to specify which events to return. |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListEventsRequest |
withAccountId(String accountId)
The ID of the Amazon Web Services account.
|
ListEventsRequest |
withFilters(ListEventsFilters filters)
A
ListEventsFilters object used to specify which events to return. |
ListEventsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListEventsRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFilters(ListEventsFilters filters)
A ListEventsFilters
object used to specify which events to return.
filters
- A ListEventsFilters
object used to specify which events to return.public ListEventsFilters getFilters()
A ListEventsFilters
object used to specify which events to return.
ListEventsFilters
object used to specify which events to return.public ListEventsRequest withFilters(ListEventsFilters filters)
A ListEventsFilters
object used to specify which events to return.
filters
- A ListEventsFilters
object used to specify which events to return.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public ListEventsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
public ListEventsRequest withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public void setAccountId(String accountId)
The ID of the Amazon Web Services account.
accountId
- The ID of the Amazon Web Services account.public String getAccountId()
The ID of the Amazon Web Services account.
public ListEventsRequest withAccountId(String accountId)
The ID of the Amazon Web Services account.
accountId
- The ID of the Amazon Web Services account.public String toString()
toString
in class Object
Object.toString()
public ListEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()