@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEventsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
String |
getNextToken()
NextToken is a string that is returned in some command responses.
|
String |
getServerName()
The name of the server for which you want to view events.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
void |
setNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
void |
setServerName(String serverName)
The name of the server for which you want to view events.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEventsRequest |
withMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
DescribeEventsRequest |
withNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
DescribeEventsRequest |
withServerName(String serverName)
The name of the server for which you want to view events.
|
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 setServerName(String serverName)
The name of the server for which you want to view events.
serverName
- The name of the server for which you want to view events.public String getServerName()
The name of the server for which you want to view events.
public DescribeEventsRequest withServerName(String serverName)
The name of the server for which you want to view events.
serverName
- The name of the server for which you want to view events.public void setNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeEvents
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
nextToken
- NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeEvents
again, and assign the token from the previous results as the
value of the nextToken
parameter. If there are no more results, the response object's
nextToken
parameter value is null
. Setting a nextToken
value that
was not returned in your previous results causes an InvalidNextTokenException
to occur.public String getNextToken()
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeEvents
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
DescribeEvents
again, and assign the token from the previous results as the
value of the nextToken
parameter. If there are no more results, the response object's
nextToken
parameter value is null
. Setting a nextToken
value that
was not returned in your previous results causes an InvalidNextTokenException
to occur.public DescribeEventsRequest withNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeEvents
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
nextToken
- NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeEvents
again, and assign the token from the previous results as the
value of the nextToken
parameter. If there are no more results, the response object's
nextToken
parameter value is null
. Setting a nextToken
value that
was not returned in your previous results causes an InvalidNextTokenException
to occur.public void setMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the NextToken
request parameter to get the next
set of results.
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be
returned with a single call. If the number of available results exceeds this maximum, the response
includes a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.public Integer getMaxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the NextToken
request parameter to get the next
set of results.
NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.public DescribeEventsRequest withMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the NextToken
request parameter to get the next
set of results.
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be
returned with a single call. If the number of available results exceeds this maximum, the response
includes a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.