Interface EventDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventDetails.Builder,,EventDetails> SdkBuilder<EventDetails.Builder,,EventDetails> SdkPojo
- Enclosing class:
EventDetails
@Mutable
@NotThreadSafe
public static interface EventDetails.Builder
extends SdkPojo, CopyableBuilder<EventDetails.Builder,EventDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventDetails.BuildereventMetadata(Consumer<EventMetadata.Builder> eventMetadata) Metadata specific to the event, which may include information about the cluster, instance group, or instance involved.eventMetadata(EventMetadata eventMetadata) Metadata specific to the event, which may include information about the cluster, instance group, or instance involved.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventMetadata
Metadata specific to the event, which may include information about the cluster, instance group, or instance involved.
- Parameters:
eventMetadata- Metadata specific to the event, which may include information about the cluster, instance group, or instance involved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventMetadata
Metadata specific to the event, which may include information about the cluster, instance group, or instance involved.
This is a convenience method that creates an instance of theEventMetadata.Builderavoiding the need to create one manually viaEventMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventMetadata(EventMetadata).- Parameters:
eventMetadata- a consumer that will call methods onEventMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-