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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SuggestResponse.Builderstatus(Consumer<SuggestStatus.Builder> status)The status of aSuggestRequest.SuggestResponse.Builderstatus(SuggestStatus status)The status of aSuggestRequest.default SuggestResponse.Buildersuggest(Consumer<SuggestModel.Builder> suggest)Container for the matching search suggestion information.SuggestResponse.Buildersuggest(SuggestModel suggest)Container for the matching search suggestion information.-
Methods inherited from interface software.amazon.awssdk.services.cloudsearchdomain.model.CloudSearchDomainResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
status
SuggestResponse.Builder status(SuggestStatus 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
default SuggestResponse.Builder status(Consumer<SuggestStatus.Builder> 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:
status(SuggestStatus)
-
suggest
SuggestResponse.Builder suggest(SuggestModel 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
default SuggestResponse.Builder suggest(Consumer<SuggestModel.Builder> 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:
suggest(SuggestModel)
-
-