public class Event
extends java.lang.Object
implements java.io.Serializable
Describes an event.
| コンストラクタと説明 |
|---|
Event() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDate()
The date and time of the event.
|
java.lang.String |
getMessage()
The text of this event.
|
java.lang.String |
getSourceIdentifier()
The identifier for the source of the event.
|
java.lang.String |
getSourceType()
The source type for this event.
|
int |
hashCode() |
void |
setDate(java.util.Date date)
The date and time of the event.
|
void |
setMessage(java.lang.String message)
The text of this event.
|
void |
setSourceIdentifier(java.lang.String sourceIdentifier)
The identifier for the source of the event.
|
void |
setSourceType(SourceType sourceType)
The source type for this event.
|
void |
setSourceType(java.lang.String sourceType)
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)
The date and time of the event.
|
Event |
withMessage(java.lang.String message)
The text of this event.
|
Event |
withSourceIdentifier(java.lang.String sourceIdentifier)
The identifier for the source of the event.
|
Event |
withSourceType(SourceType sourceType)
The source type for this event.
|
Event |
withSourceType(java.lang.String sourceType)
The source type for this event.
|
public java.lang.String getSourceIdentifier()
public void setSourceIdentifier(java.lang.String sourceIdentifier)
sourceIdentifier - 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 - The identifier for the source of the event.public java.lang.String getSourceType()
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
SourceTypepublic void setSourceType(java.lang.String sourceType)
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
sourceType - The source type for this event.SourceTypepublic Event withSourceType(java.lang.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.SourceTypepublic void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot
sourceType - The source type for this event.SourceTypepublic 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.SourceTypepublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - 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 - The text of this event.public java.util.Date getDate()
public void setDate(java.util.Date date)
date - 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 - The date and time of the event.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object