public static interface DescribeServiceErrorsResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<DescribeServiceErrorsResponse.Builder,DescribeServiceErrorsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeServiceErrorsResponse.Builder |
serviceErrors(Collection<ServiceError> serviceErrors)
An array of
ServiceError objects that describe the specified service errors. |
DescribeServiceErrorsResponse.Builder |
serviceErrors(Consumer<ServiceError.Builder>... serviceErrors)
An array of
ServiceError objects that describe the specified service errors. |
DescribeServiceErrorsResponse.Builder |
serviceErrors(ServiceError... serviceErrors)
An array of
ServiceError objects that describe the specified service errors. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeServiceErrorsResponse.Builder serviceErrors(Collection<ServiceError> serviceErrors)
An array of ServiceError
objects that describe the specified service errors.
serviceErrors
- An array of ServiceError
objects that describe the specified service errors.DescribeServiceErrorsResponse.Builder serviceErrors(ServiceError... serviceErrors)
An array of ServiceError
objects that describe the specified service errors.
serviceErrors
- An array of ServiceError
objects that describe the specified service errors.DescribeServiceErrorsResponse.Builder serviceErrors(Consumer<ServiceError.Builder>... serviceErrors)
An array of ServiceError
objects that describe the specified service errors.
List.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 #serviceErrors(List)
.serviceErrors
- a consumer that will call methods on List.Builder
#serviceErrors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.