ToCopyableBuilder<Event.Builder,Event>
@Generated("software.amazon.awssdk:codegen") public class Event extends Object implements ToCopyableBuilder<Event.Builder,Event>
Represents a single occurrence of something interesting within the system. Some examples of events are creating a cache cluster, adding or removing a cache 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() |
|
String |
message() |
The text of the event.
|
static Class<? extends Event.Builder> |
serializableBuilderClass() |
|
String |
sourceIdentifier() |
The identifier for the source of the event.
|
String |
sourceType() |
Specifies the origin of this event - a cache cluster, a parameter group, a security group, 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 sourceIdentifier()
The identifier for the source of the event. For example, if the event occurred at the cache cluster level, the identifier would be the name of the cache cluster.
public String sourceType()
Specifies the origin of this event - a cache cluster, a parameter group, a security group, etc.
SourceType
public String message()
The text of 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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.