Interface SuggestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudSearchDomainResponse.Builder,CopyableBuilder<SuggestResponse.Builder,,SuggestResponse> SdkBuilder<SuggestResponse.Builder,,SuggestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SuggestResponse
public static interface SuggestResponse.Builder
extends CloudSearchDomainResponse.Builder, SdkPojo, CopyableBuilder<SuggestResponse.Builder,SuggestResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SuggestResponse.Builderstatus(Consumer<SuggestStatus.Builder> status) The status of aSuggestRequest.status(SuggestStatus status) The status of aSuggestRequest.default SuggestResponse.Buildersuggest(Consumer<SuggestModel.Builder> suggest) Container for the matching search suggestion information.suggest(SuggestModel suggest) Container for the matching search suggestion information.Methods inherited from interface software.amazon.awssdk.services.cloudsearchdomain.model.CloudSearchDomainResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The status of a
SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).- Parameters:
status- The status of aSuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of a
This is a convenience method that creates an instance of theSuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).SuggestStatus.Builderavoiding the need to create one manually viaSuggestStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(SuggestStatus).- Parameters:
status- a consumer that will call methods onSuggestStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suggest
Container for the matching search suggestion information.
- Parameters:
suggest- Container for the matching search suggestion information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggest
Container for the matching search suggestion information.
This is a convenience method that creates an instance of theSuggestModel.Builderavoiding the need to create one manually viaSuggestModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuggest(SuggestModel).- Parameters:
suggest- a consumer that will call methods onSuggestModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-