|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.DescribeEventsRequest
public class DescribeEventsRequest
Container for the parameters to the DescribeEvents operation.
Returns events related to DB instances, DB security groups, DB Snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB Iinstance, DB security group, DB Snapshot, or DB parameter group can be obtained by providing the source identifier as a parameter. By default, the past hour of events are returned.
You can see a list of event categories and source types in the Events topic in the Amazon RDS User Guide.
AmazonRDS.describeEvents(DescribeEventsRequest),
Serialized Form| Constructor Summary | |
|---|---|
DescribeEventsRequest()
Default constructor for a new DescribeEventsRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getDuration()
The number of minutes to retrieve events for. |
java.util.Date |
getEndTime()
The end of the time interval for which to retrieve events, specified in ISO 8601 format. |
java.util.List<java.lang.String> |
getEventCategories()
A list of event categories that trigger notifications for a event notification subscription. |
java.lang.String |
getMarker()
An optional pagination token provided by a previous DescribeEvents request. |
java.lang.Integer |
getMaxRecords()
The maximum number of records to include in the response. |
java.lang.String |
getSourceIdentifier()
The identifier of the event source for which events will be returned. |
java.lang.String |
getSourceType()
The event source to retrieve events for. |
java.util.Date |
getStartTime()
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. |
int |
hashCode()
|
void |
setDuration(java.lang.Integer duration)
The number of minutes to retrieve events for. |
void |
setEndTime(java.util.Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format. |
void |
setEventCategories(java.util.Collection<java.lang.String> eventCategories)
A list of event categories that trigger notifications for a event notification subscription. |
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous DescribeEvents request. |
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of records to include in the response. |
void |
setSourceIdentifier(java.lang.String sourceIdentifier)
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(java.lang.String sourceType)
The event source to retrieve events for. |
void |
setStartTime(java.util.Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeEventsRequest |
withDuration(java.lang.Integer duration)
The number of minutes to retrieve events for. |
DescribeEventsRequest |
withEndTime(java.util.Date endTime)
The end of the time interval for which to retrieve events, specified in ISO 8601 format. |
DescribeEventsRequest |
withEventCategories(java.util.Collection<java.lang.String> eventCategories)
A list of event categories that trigger notifications for a event notification subscription. |
DescribeEventsRequest |
withEventCategories(java.lang.String... eventCategories)
A list of event categories that trigger notifications for a event notification subscription. |
DescribeEventsRequest |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous DescribeEvents request. |
DescribeEventsRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of records to include in the response. |
DescribeEventsRequest |
withSourceIdentifier(java.lang.String sourceIdentifier)
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(java.lang.String sourceType)
The event source to retrieve events for. |
DescribeEventsRequest |
withStartTime(java.util.Date startTime)
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DescribeEventsRequest()
| Method Detail |
|---|
public java.lang.String getSourceIdentifier()
Constraints:
Constraints:
public void setSourceIdentifier(java.lang.String sourceIdentifier)
Constraints:
sourceIdentifier - The identifier of the event source for which events will be returned.
If not specified, then all sources are included in the response.
Constraints:
public DescribeEventsRequest withSourceIdentifier(java.lang.String sourceIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
sourceIdentifier - The identifier of the event source for which events will be returned.
If not specified, then all sources are included in the response.
Constraints:
public java.lang.String getSourceType()
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
SourceTypepublic void setSourceType(java.lang.String sourceType)
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
sourceType - The event source to retrieve events for. If no value is specified, all
events are returned.SourceTypepublic DescribeEventsRequest withSourceType(java.lang.String sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
sourceType - The event source to retrieve events for. If no value is specified, all
events are returned.
SourceTypepublic void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
sourceType - The event source to retrieve events for. If no value is specified, all
events are returned.SourceTypepublic DescribeEventsRequest withSourceType(SourceType sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
sourceType - The event source to retrieve events for. If no value is specified, all
events are returned.
SourceTypepublic java.util.Date getStartTime()
Example: 2009-07-08T18:00Z
Example: 2009-07-08T18:00Z
public void setStartTime(java.util.Date startTime)
Example: 2009-07-08T18:00Z
startTime - The beginning of the time interval to retrieve events for, specified
in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2009-07-08T18:00Z
public DescribeEventsRequest withStartTime(java.util.Date startTime)
Example: 2009-07-08T18:00Z
Returns a reference to this object so that method calls can be chained together.
startTime - The beginning of the time interval to retrieve events for, specified
in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2009-07-08T18:00Z
public java.util.Date getEndTime()
Example: 2009-07-08T18:00Z
Example: 2009-07-08T18:00Z
public void setEndTime(java.util.Date endTime)
Example: 2009-07-08T18:00Z
endTime - The end of the time interval for which to retrieve events, specified
in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2009-07-08T18:00Z
public DescribeEventsRequest withEndTime(java.util.Date endTime)
Example: 2009-07-08T18:00Z
Returns a reference to this object so that method calls can be chained together.
endTime - The end of the time interval for which to retrieve events, specified
in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2009-07-08T18:00Z
public java.lang.Integer getDuration()
Default: 60
Default: 60
public void setDuration(java.lang.Integer duration)
Default: 60
duration - The number of minutes to retrieve events for. Default: 60
public DescribeEventsRequest withDuration(java.lang.Integer duration)
Default: 60
Returns a reference to this object so that method calls can be chained together.
duration - The number of minutes to retrieve events for. Default: 60
public java.util.List<java.lang.String> getEventCategories()
public void setEventCategories(java.util.Collection<java.lang.String> eventCategories)
eventCategories - A list of event categories that trigger notifications for a event
notification subscription.public DescribeEventsRequest withEventCategories(java.lang.String... eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories - A list of event categories that trigger notifications for a event
notification subscription.
public DescribeEventsRequest withEventCategories(java.util.Collection<java.lang.String> eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories - A list of event categories that trigger notifications for a event
notification subscription.
public java.lang.Integer getMaxRecords()
MaxRecords value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
MaxRecords value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
public void setMaxRecords(java.lang.Integer maxRecords)
MaxRecords value, a
pagination token called a marker is included in the response so that
the remaining results may 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
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
public DescribeEventsRequest withMaxRecords(java.lang.Integer maxRecords)
MaxRecords value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
Returns a reference to this object so that method calls can be chained together.
maxRecords - The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
public java.lang.String getMarker()
MaxRecords.
MaxRecords.public void setMarker(java.lang.String marker)
MaxRecords.
marker - An optional pagination token provided by a previous DescribeEvents
request. If this parameter is specified, the response includes only
records beyond the marker, up to the value specified by
MaxRecords.public DescribeEventsRequest withMarker(java.lang.String marker)
MaxRecords.
Returns a reference to this object so that method calls can be chained together.
marker - An optional pagination token provided by a previous DescribeEvents
request. If this parameter is specified, the response includes only
records beyond the marker, up to the value specified by
MaxRecords.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||