Interface RetrieveResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RetrieveResponse.Builder,,RetrieveResponse> QConnectResponse.Builder,SdkBuilder<RetrieveResponse.Builder,,RetrieveResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RetrieveResponse
@Mutable
@NotThreadSafe
public static interface RetrieveResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<RetrieveResponse.Builder,RetrieveResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresults(Collection<RetrieveResult> results) The results of the content retrieval operation.results(Consumer<RetrieveResult.Builder>... results) The results of the content retrieval operation.results(RetrieveResult... results) The results of the content retrieval operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
results
The results of the content retrieval operation.
- Parameters:
results- The results of the content retrieval operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results of the content retrieval operation.
- Parameters:
results- The results of the content retrieval operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results of the content retrieval operation.
This is a convenience method that creates an instance of theRetrieveResult.Builderavoiding the need to create one manually viaRetrieveResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<RetrieveResult>).- Parameters:
results- a consumer that will call methods onRetrieveResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-