|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.redshift.model.Event
public class Event
Describes an event.
Constructor Summary | |
---|---|
Event()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Date |
getDate()
The date and time of the event. |
List<String> |
getEventCategories()
A list of the event categories. |
String |
getEventId()
The identifier of the event. |
String |
getMessage()
The text of this event. |
String |
getSeverity()
The severity of the event. |
String |
getSourceIdentifier()
The identifier for the source of the event. |
String |
getSourceType()
The source type for this event. |
int |
hashCode()
|
void |
setDate(Date date)
The date and time of the event. |
void |
setEventCategories(Collection<String> eventCategories)
A list of the event categories. |
void |
setEventId(String eventId)
The identifier of the event. |
void |
setMessage(String message)
The text of this event. |
void |
setSeverity(String severity)
The severity of the event. |
void |
setSourceIdentifier(String sourceIdentifier)
The identifier for the source of the event. |
void |
setSourceType(SourceType sourceType)
The source type for this event. |
void |
setSourceType(String sourceType)
The source type for this event. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Event |
withDate(Date date)
The date and time of the event. |
Event |
withEventCategories(Collection<String> eventCategories)
A list of the event categories. |
Event |
withEventCategories(String... eventCategories)
A list of the event categories. |
Event |
withEventId(String eventId)
The identifier of the event. |
Event |
withMessage(String message)
The text of this event. |
Event |
withSeverity(String severity)
The severity of the event. |
Event |
withSourceIdentifier(String sourceIdentifier)
The identifier for the source of the event. |
Event |
withSourceType(SourceType sourceType)
The source type for this event. |
Event |
withSourceType(String sourceType)
The source type for this event. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Event()
Method Detail |
---|
public String getSourceIdentifier()
public void setSourceIdentifier(String sourceIdentifier)
sourceIdentifier
- The identifier for the source of the event.public Event withSourceIdentifier(String sourceIdentifier)
Returns a reference to this object so that method calls can be chained together.
sourceIdentifier
- The identifier for the source of the event.
public String getSourceType()
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
SourceType
public void setSourceType(String sourceType)
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
sourceType
- The source type for this event.SourceType
public Event withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
sourceType
- The source type for this event.
SourceType
public void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
sourceType
- 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: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
sourceType
- The source type for this event.
SourceType
public String getMessage()
public void setMessage(String message)
message
- The text of this event.public Event withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The text of this event.
public List<String> getEventCategories()
public void setEventCategories(Collection<String> eventCategories)
eventCategories
- A list of the event categories.public Event withEventCategories(String... eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories
- A list of the event categories.
public Event withEventCategories(Collection<String> eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories
- A list of the event categories.
public String getSeverity()
Values: ERROR, INFO
Values: ERROR, INFO
public void setSeverity(String severity)
Values: ERROR, INFO
severity
- The severity of the event. Values: ERROR, INFO
public Event withSeverity(String severity)
Values: ERROR, INFO
Returns a reference to this object so that method calls can be chained together.
severity
- The severity of the event. Values: ERROR, INFO
public Date getDate()
public void setDate(Date date)
date
- The date and time of the event.public Event withDate(Date date)
Returns a reference to this object so that method calls can be chained together.
date
- The date and time of the event.
public String getEventId()
public void setEventId(String eventId)
eventId
- The identifier of the event.public Event withEventId(String eventId)
Returns a reference to this object so that method calls can be chained together.
eventId
- The identifier of the event.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |