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.Builder
date(Instant date)
The date and time when the event occurred.Event.Builder
message(String message)
The text of the event.Event.Builder
sourceIdentifier(String sourceIdentifier)
The identifier for the source of the event.Event.Builder
sourceType(String sourceType)
Specifies the origin of this event - a cluster, a parameter group, a security group, etc.Event.Builder
sourceType(SourceType sourceType)
Specifies the origin of this event - a cluster, a parameter group, a security group, 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, sdkFields
-
-
-
-
Method Detail
-
sourceIdentifier
Event.Builder sourceIdentifier(String sourceIdentifier)
The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.
- Parameters:
sourceIdentifier
- The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.- 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 security group, etc.
- Parameters:
sourceType
- Specifies the origin of this event - a cluster, a parameter group, a security group, 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 security group, etc.
- Parameters:
sourceType
- Specifies the origin of this event - a cluster, a parameter group, a security group, 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)
The text of the event.
- Parameters:
message
- The text of 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.
-
-