Interface ErrorRootCause.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorRootCause.Builder,,ErrorRootCause> SdkBuilder<ErrorRootCause.Builder,,ErrorRootCause> SdkPojo
- Enclosing class:
ErrorRootCause
public static interface ErrorRootCause.Builder
extends SdkPojo, CopyableBuilder<ErrorRootCause.Builder,ErrorRootCause>
-
Method Summary
Modifier and TypeMethodDescriptionclientImpacting(Boolean clientImpacting) A flag that denotes that the root cause impacts the trace client.services(Collection<ErrorRootCauseService> services) A list of services corresponding to an error.services(Consumer<ErrorRootCauseService.Builder>... services) A list of services corresponding to an error.services(ErrorRootCauseService... services) A list of services corresponding to an error.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, sdkFields
-
Method Details
-
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
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
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 toservices(List<ErrorRootCauseService>).- 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:
-
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.
-