Interface BatchGetFieldResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCasesResponse.Builder
,CopyableBuilder<BatchGetFieldResponse.Builder,
,BatchGetFieldResponse> SdkBuilder<BatchGetFieldResponse.Builder,
,BatchGetFieldResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetFieldResponse
public static interface BatchGetFieldResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<BatchGetFieldResponse.Builder,BatchGetFieldResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<FieldError> errors) A list of field errors.errors
(Consumer<FieldError.Builder>... errors) A list of field errors.errors
(FieldError... errors) A list of field errors.fields
(Collection<GetFieldResponse> fields) A list of detailed field information.fields
(Consumer<GetFieldResponse.Builder>... fields) A list of detailed field information.fields
(GetFieldResponse... fields) A list of detailed field information.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadata
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
Methods 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 theFieldError.Builder
avoiding the need to create one manually viaFieldError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<FieldError>)
.- Parameters:
errors
- a consumer that will call methods onFieldError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fields
A list of detailed field information.
- Parameters:
fields
- A list of detailed field information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of detailed field information.
- Parameters:
fields
- A list of detailed field information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of detailed field information.
This is a convenience method that creates an instance of theGetFieldResponse.Builder
avoiding the need to create one manually viaGetFieldResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<GetFieldResponse>)
.- Parameters:
fields
- a consumer that will call methods onGetFieldResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-