public static interface DescribeServiceErrorsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeServiceErrorsResponse.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.
ServiceError.Builder avoiding the need to create one
manually via ServiceError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #serviceErrors(List.
serviceErrors - a consumer that will call methods on
ServiceError.Builder#serviceErrors(java.util.Collection) Copyright © 2023. All rights reserved.