|
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.services.rds.model.Event
public class Event
This data type is used as a response element in the DescribeEvents action.
Constructor Summary | |
---|---|
Event()
Default constructor for a new Event object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getDate()
Specifies the date and time of the event. |
java.util.List<java.lang.String> |
getEventCategories()
Specifies the category for the event. |
java.lang.String |
getMessage()
Provides the text of this event. |
java.lang.String |
getSourceIdentifier()
Provides the identifier for the source of the event. |
java.lang.String |
getSourceType()
Specifies the source type for this event. |
int |
hashCode()
|
void |
setDate(java.util.Date date)
Specifies the date and time of the event. |
void |
setEventCategories(java.util.Collection<java.lang.String> eventCategories)
Specifies the category for the event. |
void |
setMessage(java.lang.String message)
Provides the text of this event. |
void |
setSourceIdentifier(java.lang.String sourceIdentifier)
Provides the identifier for the source of the event. |
void |
setSourceType(SourceType sourceType)
Specifies the source type for this event. |
void |
setSourceType(java.lang.String sourceType)
Specifies the source type for this event. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Event |
withDate(java.util.Date date)
Specifies the date and time of the event. |
Event |
withEventCategories(java.util.Collection<java.lang.String> eventCategories)
Specifies the category for the event. |
Event |
withEventCategories(java.lang.String... eventCategories)
Specifies the category for the event. |
Event |
withMessage(java.lang.String message)
Provides the text of this event. |
Event |
withSourceIdentifier(java.lang.String sourceIdentifier)
Provides the identifier for the source of the event. |
Event |
withSourceType(SourceType sourceType)
Specifies the source type for this event. |
Event |
withSourceType(java.lang.String sourceType)
Specifies the source type for this event. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Event()
Method Detail |
---|
public java.lang.String getSourceIdentifier()
public void setSourceIdentifier(java.lang.String sourceIdentifier)
sourceIdentifier
- Provides the identifier for the source of the event.public Event withSourceIdentifier(java.lang.String sourceIdentifier)
Returns a reference to this object so that method calls can be chained together.
sourceIdentifier
- Provides the identifier for the source of the event.
public java.lang.String getSourceType()
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
SourceType
public void setSourceType(java.lang.String sourceType)
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
sourceType
- Specifies the source type for this event.SourceType
public Event 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
- Specifies the source type for this event.
SourceType
public void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: db-instance, db-parameter-group, db-security-group, db-snapshot
sourceType
- Specifies the source type for this event.SourceType
public Event 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
- Specifies the source type for this event.
SourceType
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- Provides the text of this event.public Event withMessage(java.lang.String message)
Returns a reference to this object so that method calls can be chained together.
message
- Provides the text of this event.
public java.util.List<java.lang.String> getEventCategories()
public void setEventCategories(java.util.Collection<java.lang.String> eventCategories)
eventCategories
- Specifies the category for the event.public Event withEventCategories(java.lang.String... eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories
- Specifies the category for the event.
public Event withEventCategories(java.util.Collection<java.lang.String> eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories
- Specifies the category for the event.
public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- Specifies the date and time of the event.public Event withDate(java.util.Date date)
Returns a reference to this object so that method calls can be chained together.
date
- Specifies the date and time of the event.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public 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 |