Interface ServiceEventDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceEventDetails.Builder,,ServiceEventDetails> SdkBuilder<ServiceEventDetails.Builder,,ServiceEventDetails> SdkPojo
- Enclosing class:
ServiceEventDetails
@Mutable
@NotThreadSafe
public static interface ServiceEventDetails.Builder
extends SdkPojo, CopyableBuilder<ServiceEventDetails.Builder,ServiceEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the event.default ServiceEventDetails.BuildereventMetadata(Consumer<ServiceEventMetadata.Builder> eventMetadata) Sets the value of the EventMetadata property for this object.eventMetadata(ServiceEventMetadata eventMetadata) Sets the value of the EventMetadata property for this object.The title of the event.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
-
title
The title of the event.
- Parameters:
title- The title of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the event.
- Parameters:
description- The description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventMetadata
Sets the value of the EventMetadata property for this object.- Parameters:
eventMetadata- The new value for the EventMetadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventMetadata
default ServiceEventDetails.Builder eventMetadata(Consumer<ServiceEventMetadata.Builder> eventMetadata) Sets the value of the EventMetadata property for this object. This is a convenience method that creates an instance of theServiceEventMetadata.Builderavoiding the need to create one manually viaServiceEventMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventMetadata(ServiceEventMetadata).- Parameters:
eventMetadata- a consumer that will call methods onServiceEventMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-