CopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
, SdkBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
public static interface DescribeEventsRequest.Builder extends CopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeEventsRequest.Builder |
duration(Integer duration) |
The number of minutes' worth of events to retrieve.
|
DescribeEventsRequest.Builder |
endTime(Date endTime) |
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
|
DescribeEventsRequest.Builder |
maxResults(Integer maxResults) |
The maximum number of results to include in the response.
|
DescribeEventsRequest.Builder |
nextToken(String nextToken) |
An optional token returned from a prior request.
|
DescribeEventsRequest.Builder |
sourceName(String sourceName) |
The identifier of the event source for which events will be returned.
|
DescribeEventsRequest.Builder |
sourceType(String sourceType) |
The event source to retrieve events for.
|
DescribeEventsRequest.Builder |
sourceType(SourceType sourceType) |
The event source to retrieve events for.
|
DescribeEventsRequest.Builder |
startTime(Date startTime) |
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
|
copy
apply, build
DescribeEventsRequest.Builder sourceName(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.DescribeEventsRequest.Builder sourceType(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
DescribeEventsRequest.Builder sourceType(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
DescribeEventsRequest.Builder startTime(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.DescribeEventsRequest.Builder endTime(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.DescribeEventsRequest.Builder duration(Integer duration)
The number of minutes' worth of events to retrieve.
duration
- The number of minutes' worth of events to retrieve.DescribeEventsRequest.Builder maxResults(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.
DescribeEventsRequest.Builder nextToken(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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.