Interface ErrorRootCause.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorRootCause.Builder,ErrorRootCause>,SdkBuilder<ErrorRootCause.Builder,ErrorRootCause>,SdkPojo
- Enclosing class:
- ErrorRootCause
@Mutable @NotThreadSafe public static interface ErrorRootCause.Builder extends SdkPojo, CopyableBuilder<ErrorRootCause.Builder,ErrorRootCause>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorRootCause.BuilderclientImpacting(Boolean clientImpacting)A flag that denotes that the root cause impacts the trace client.ErrorRootCause.Builderservices(Collection<ErrorRootCauseService> services)A list of services corresponding to an error.ErrorRootCause.Builderservices(Consumer<ErrorRootCauseService.Builder>... services)A list of services corresponding to an error.ErrorRootCause.Builderservices(ErrorRootCauseService... services)A list of services corresponding to an error.-
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
-
services
ErrorRootCause.Builder services(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
- Parameters:
services- A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
ErrorRootCause.Builder services(ErrorRootCauseService... services)
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
- Parameters:
services- A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
ErrorRootCause.Builder services(Consumer<ErrorRootCauseService.Builder>... services)
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
This is a convenience method that creates an instance of theErrorRootCauseService.Builderavoiding the need to create one manually viaErrorRootCauseService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#services(List.) - Parameters:
services- a consumer that will call methods onErrorRootCauseService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#services(java.util.Collection)
-
clientImpacting
ErrorRootCause.Builder clientImpacting(Boolean clientImpacting)
A flag that denotes that the root cause impacts the trace client.
- Parameters:
clientImpacting- A flag that denotes that the root cause impacts the trace client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-