Interface BatchGetAttachedFileMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<BatchGetAttachedFileMetadataResponse.Builder,
,BatchGetAttachedFileMetadataResponse> SdkBuilder<BatchGetAttachedFileMetadataResponse.Builder,
,BatchGetAttachedFileMetadataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetAttachedFileMetadataResponse
public static interface BatchGetAttachedFileMetadataResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<BatchGetAttachedFileMetadataResponse.Builder,BatchGetAttachedFileMetadataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<AttachedFileError> errors) List of errors of attached files that could not be retrieved.errors
(Consumer<AttachedFileError.Builder>... errors) List of errors of attached files that could not be retrieved.errors
(AttachedFileError... errors) List of errors of attached files that could not be retrieved.files
(Collection<AttachedFile> files) List of attached files that were successfully retrieved.files
(Consumer<AttachedFile.Builder>... files) List of attached files that were successfully retrieved.files
(AttachedFile... files) List of attached files that were successfully retrieved.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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
-
files
List of attached files that were successfully retrieved.
- Parameters:
files
- List of attached files that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
List of attached files that were successfully retrieved.
- Parameters:
files
- List of attached files that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
List of attached files that were successfully retrieved.
This is a convenience method that creates an instance of theAttachedFile.Builder
avoiding the need to create one manually viaAttachedFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofiles(List<AttachedFile>)
.- Parameters:
files
- a consumer that will call methods onAttachedFile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
List of errors of attached files that could not be retrieved.
- Parameters:
errors
- List of errors of attached files that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
List of errors of attached files that could not be retrieved.
- Parameters:
errors
- List of errors of attached files that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
List of errors of attached files that could not be retrieved.
This is a convenience method that creates an instance of theAttachedFileError.Builder
avoiding the need to create one manually viaAttachedFileError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<AttachedFileError>)
.- Parameters:
errors
- a consumer that will call methods onAttachedFileError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-