Interface BadRequestDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BadRequestDetail.Builder,
,BadRequestDetail> SdkBuilder<BadRequestDetail.Builder,
,BadRequestDetail> SdkPojo
- Enclosing class:
BadRequestDetail
public static interface BadRequestDetail.Builder
extends SdkPojo, CopyableBuilder<BadRequestDetail.Builder,BadRequestDetail>
-
Method Summary
Modifier and TypeMethodDescriptioncodeErrors
(Collection<CodeError> codeErrors) Contains the list of errors in the request.codeErrors
(Consumer<CodeError.Builder>... codeErrors) Contains the list of errors in the request.codeErrors
(CodeError... codeErrors) Contains the list of errors in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
codeErrors
Contains the list of errors in the request.
- Parameters:
codeErrors
- Contains the list of errors in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeErrors
Contains the list of errors in the request.
- Parameters:
codeErrors
- Contains the list of errors in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeErrors
Contains the list of errors in the request.
This is a convenience method that creates an instance of theCodeError.Builder
avoiding the need to create one manually viaCodeError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeErrors(List<CodeError>)
.- Parameters:
codeErrors
- a consumer that will call methods onCodeError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-