public static interface ErrorRootCause.Builder extends SdkPojo, CopyableBuilder<ErrorRootCause.Builder,ErrorRootCause>
Modifier and Type | Method and Description |
---|---|
ErrorRootCause.Builder |
services(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error.
|
ErrorRootCause.Builder |
services(Consumer<ErrorRootCauseService.Builder>... services)
A list of services corresponding to an error.
|
ErrorRootCause.Builder |
services(ErrorRootCauseService... services)
A list of services corresponding to an error.
|
copy
applyMutation, build
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.
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.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.
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.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 that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #services(List)
.services
- a consumer that will call methods on List.Builder
#services(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.