Interface CustomOrchestrationTrace.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomOrchestrationTrace.Builder,CustomOrchestrationTrace>,SdkBuilder<CustomOrchestrationTrace.Builder,CustomOrchestrationTrace>,SdkPojo
- Enclosing class:
- CustomOrchestrationTrace
@Mutable @NotThreadSafe public static interface CustomOrchestrationTrace.Builder extends SdkPojo, CopyableBuilder<CustomOrchestrationTrace.Builder,CustomOrchestrationTrace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CustomOrchestrationTrace.Builderevent(Consumer<CustomOrchestrationTraceEvent.Builder> event)The event details used with the custom orchestration.CustomOrchestrationTrace.Builderevent(CustomOrchestrationTraceEvent event)The event details used with the custom orchestration.CustomOrchestrationTrace.BuildertraceId(String traceId)The unique identifier of the trace.-
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
-
event
CustomOrchestrationTrace.Builder event(CustomOrchestrationTraceEvent event)
The event details used with the custom orchestration.
- Parameters:
event- The event details used with the custom orchestration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
default CustomOrchestrationTrace.Builder event(Consumer<CustomOrchestrationTraceEvent.Builder> event)
The event details used with the custom orchestration.
This is a convenience method that creates an instance of theCustomOrchestrationTraceEvent.Builderavoiding the need to create one manually viaCustomOrchestrationTraceEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevent(CustomOrchestrationTraceEvent).- Parameters:
event- a consumer that will call methods onCustomOrchestrationTraceEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
event(CustomOrchestrationTraceEvent)
-
traceId
CustomOrchestrationTrace.Builder traceId(String traceId)
The unique identifier of the trace.
- Parameters:
traceId- The unique identifier of the trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-