Interface DescribeServiceErrorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServiceErrorsResponse.Builder,DescribeServiceErrorsResponse>,OpsWorksResponse.Builder,SdkBuilder<DescribeServiceErrorsResponse.Builder,DescribeServiceErrorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeServiceErrorsResponse
public static interface DescribeServiceErrorsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeServiceErrorsResponse.Builder,DescribeServiceErrorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeServiceErrorsResponse.BuilderserviceErrors(Collection<ServiceError> serviceErrors)An array ofServiceErrorobjects that describe the specified service errors.DescribeServiceErrorsResponse.BuilderserviceErrors(Consumer<ServiceError.Builder>... serviceErrors)An array ofServiceErrorobjects that describe the specified service errors.DescribeServiceErrorsResponse.BuilderserviceErrors(ServiceError... serviceErrors)An array ofServiceErrorobjects that describe the specified service errors.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serviceErrors
DescribeServiceErrorsResponse.Builder serviceErrors(Collection<ServiceError> serviceErrors)
An array of
ServiceErrorobjects that describe the specified service errors.- Parameters:
serviceErrors- An array ofServiceErrorobjects that describe the specified service errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceErrors
DescribeServiceErrorsResponse.Builder serviceErrors(ServiceError... serviceErrors)
An array of
ServiceErrorobjects that describe the specified service errors.- Parameters:
serviceErrors- An array ofServiceErrorobjects that describe the specified service errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceErrors
DescribeServiceErrorsResponse.Builder serviceErrors(Consumer<ServiceError.Builder>... serviceErrors)
An array of
This is a convenience method that creates an instance of theServiceErrorobjects that describe the specified service errors.ServiceError.Builderavoiding the need to create one manually viaServiceError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceErrors(List.) - Parameters:
serviceErrors- a consumer that will call methods onServiceError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serviceErrors(java.util.Collection)
-
-