@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DescribeEvents
operation.
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.
|
String |
getMarker()
An optional marker returned from a prior request.
|
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
String |
getSourceIdentifier()
The identifier of the event source for which events are 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 |
setMarker(String marker)
An optional marker returned from a prior request.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setSourceIdentifier(String sourceIdentifier)
The identifier of the event source for which events are 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; useful for testing and debugging.
|
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 |
withMarker(String marker)
An optional marker returned from a prior request.
|
DescribeEventsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeEventsRequest |
withSourceIdentifier(String sourceIdentifier)
The identifier of the event source for which events are 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 setSourceIdentifier(String sourceIdentifier)
The identifier of the event source for which events are returned. If not specified, all sources are included in the response.
sourceIdentifier
- The identifier of the event source for which events are returned. If not specified, all sources are
included in the response.public String getSourceIdentifier()
The identifier of the event source for which events are returned. If not specified, all sources are included in the response.
public DescribeEventsRequest withSourceIdentifier(String sourceIdentifier)
The identifier of the event source for which events are returned. If not specified, all sources are included in the response.
sourceIdentifier
- The identifier of the event source for which events are returned. If not specified, 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.
Example: 2017-03-30T07:03:49.555Z
startTime
- The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
public Date getStartTime()
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
Example: 2017-03-30T07:03:49.555Z
public DescribeEventsRequest withStartTime(Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
startTime
- The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
public void setEndTime(Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
endTime
- The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
public Date getEndTime()
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
Example: 2017-03-30T07:03:49.555Z
public DescribeEventsRequest withEndTime(Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
endTime
- The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
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 setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
maxRecords
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
public DescribeEventsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
maxRecords
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
public void setMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation.
If this parameter is specified, the response includes only records beyond the marker, up to the value specified
by MaxRecords
.
marker
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords
.public String getMarker()
An optional marker returned from a prior request. Use this marker for pagination of results from this operation.
If this parameter is specified, the response includes only records beyond the marker, up to the value specified
by MaxRecords
.
MaxRecords
.public DescribeEventsRequest withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation.
If this parameter is specified, the response includes only records beyond the marker, up to the value specified
by MaxRecords
.
marker
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords
.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.