Interface Event.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Event.Builder,Event>,SdkBuilder<Event.Builder,Event>,SdkPojo
- Enclosing class:
- Event
public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event.Builderdate(Instant date)The date and time when the event occurred.Event.Buildermessage(String message)A user-defined message associated with the event.Event.BuildersourceName(String sourceName)The source of the event.Event.BuildersourceType(String sourceType)Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.Event.BuildersourceType(SourceType sourceType)Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceName
Event.Builder sourceName(String sourceName)
The source of the event. For example, if the event occurred at the node level, the source would be the node ID.
- Parameters:
sourceName- The source of the event. For example, if the event occurred at the node level, the source would be the node ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
Event.Builder sourceType(String sourceType)
Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.
- Parameters:
sourceType- Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
sourceType
Event.Builder sourceType(SourceType sourceType)
Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.
- Parameters:
sourceType- Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
message
Event.Builder message(String message)
A user-defined message associated with the event.
- Parameters:
message- A user-defined message associated with the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
Event.Builder date(Instant date)
The date and time when the event occurred.
- Parameters:
date- The date and time when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-