@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 |
getDuration()
The number of minutes' worth of events to retrieve.
|
Date |
getEndTime()
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
|
Integer |
getMaxResults()
The maximum number of results to include in the response.
|
String |
getNextToken()
An optional token returned from a prior request.
|
String |
getSourceName()
The identifier of the event source for which events will be returned.
|
String |
getSourceType()
The event source to retrieve events for.
|
Date |
getStartTime()
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
|
int |
hashCode() |
void |
setDuration(Integer duration)
The number of minutes' worth of events to retrieve.
|
void |
setEndTime(Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
An optional token returned from a prior request.
|
void |
setSourceName(String sourceName)
The identifier of the event source for which events will be returned.
|
void |
setSourceType(SourceType sourceType)
The event source to retrieve events for.
|
void |
setSourceType(String sourceType)
The event source to retrieve events for.
|
void |
setStartTime(Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEventsRequest |
withDuration(Integer duration)
The number of minutes' worth of events to retrieve.
|
DescribeEventsRequest |
withEndTime(Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
|
DescribeEventsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
DescribeEventsRequest |
withNextToken(String nextToken)
An optional token returned from a prior request.
|
DescribeEventsRequest |
withSourceName(String sourceName)
The identifier of the event source for which events will be returned.
|
DescribeEventsRequest |
withSourceType(SourceType sourceType)
The event source to retrieve events for.
|
DescribeEventsRequest |
withSourceType(String sourceType)
The event source to retrieve events for.
|
DescribeEventsRequest |
withStartTime(Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
|
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 setSourceName(String sourceName)
The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.
sourceName
- The identifier of the event source for which events will be returned. If not specified, then all sources
are included in the response.public String getSourceName()
The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.
public DescribeEventsRequest withSourceName(String sourceName)
The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.
sourceName
- The identifier of the event source for which events will be returned. If not specified, then all sources
are included in the response.public void setSourceType(String sourceType)
The event source to retrieve events for. If no value is specified, all events are returned.
sourceType
- The event source to retrieve events for. If no value is specified, all events are returned.SourceType
public String getSourceType()
The event source to retrieve events for. If no value is specified, all events are returned.
SourceType
public DescribeEventsRequest withSourceType(String sourceType)
The event source to retrieve events for. If no value is specified, all events are returned.
sourceType
- The event source to retrieve events for. If no value is specified, all events are returned.SourceType
public void setSourceType(SourceType sourceType)
The event source to retrieve events for. If no value is specified, all events are returned.
sourceType
- The event source to retrieve events for. If no value is specified, all events are returned.SourceType
public DescribeEventsRequest withSourceType(SourceType sourceType)
The event source to retrieve events for. If no value is specified, all events are returned.
sourceType
- The event source to retrieve events for. If no value is specified, all events are returned.SourceType
public void setStartTime(Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
startTime
- The beginning of the time interval to retrieve events for, specified in ISO 8601 format.public Date getStartTime()
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
public DescribeEventsRequest withStartTime(Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
startTime
- The beginning of the time interval to retrieve events for, specified in ISO 8601 format.public void setEndTime(Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
endTime
- The end of the time interval for which to retrieve events, specified in ISO 8601 format.public Date getEndTime()
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
public DescribeEventsRequest withEndTime(Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
endTime
- The end of the time interval for which to retrieve events, specified in ISO 8601 format.public void setDuration(Integer duration)
The number of minutes' worth of events to retrieve.
duration
- The number of minutes' worth of events to retrieve.public Integer getDuration()
The number of minutes' worth of events to retrieve.
public DescribeEventsRequest withDuration(Integer duration)
The number of minutes' worth of events to retrieve.
duration
- The number of minutes' worth of events to retrieve.public void setMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
maxResults
- The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
public Integer getMaxResults()
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
public DescribeEventsRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
maxResults
- The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
public void setNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
nextToken
- An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response includes only results beyond the token, up to the
value specified by MaxResults
.public String getNextToken()
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
MaxResults
.public DescribeEventsRequest withNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
nextToken
- An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response includes only results beyond the token, up to the
value specified by MaxResults
.public String toString()
toString
in class Object
Object.toString()
public DescribeEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()