Interface BatchPutFieldOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<BatchPutFieldOptionsResponse.Builder,,BatchPutFieldOptionsResponse> SdkBuilder<BatchPutFieldOptionsResponse.Builder,,BatchPutFieldOptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchPutFieldOptionsResponse
public static interface BatchPutFieldOptionsResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<BatchPutFieldOptionsResponse.Builder,BatchPutFieldOptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<FieldOptionError> errors) A list of field errors.errors(Consumer<FieldOptionError.Builder>... errors) A list of field errors.errors(FieldOptionError... errors) A list of field errors.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
A list of field errors.
- Parameters:
errors- A list of field errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of field errors.
- Parameters:
errors- A list of field errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of field errors.
This is a convenience method that creates an instance of theFieldOptionError.Builderavoiding the need to create one manually viaFieldOptionError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<FieldOptionError>).- Parameters:
errors- a consumer that will call methods onFieldOptionError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-