StructuredPojo
, ToCopyableBuilder<Event.Builder,Event>
@Generated("software.amazon.awssdk:codegen") public class Event extends Object implements StructuredPojo, ToCopyableBuilder<Event.Builder,Event>
Represents a single occurrence of something interesting within the system. Some examples of events are creating a DAX cluster, adding or removing a node, or rebooting a node.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Event.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Event.Builder |
builder() |
|
Date |
date() |
The date and time when the event occurred.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message() |
A user-defined message associated with the event.
|
static Class<? extends Event.Builder> |
serializableBuilderClass() |
|
String |
sourceName() |
The source of the event.
|
String |
sourceType() |
Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.
|
Event.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String sourceName()
The source of the event. For example, if the event occurred at the node level, the source would be the node ID.
public String sourceType()
Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.
SourceType
public String message()
A user-defined message associated with the event.
public Date date()
The date and time when the event occurred.
public Event.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Event.Builder,Event>
public static Event.Builder builder()
public static Class<? extends Event.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.