Interface DescribeSearchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSearchResponse.Builder,,DescribeSearchResponse> IoTSiteWiseResponse.Builder,SdkBuilder<DescribeSearchResponse.Builder,,DescribeSearchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeSearchResponse
@Mutable
@NotThreadSafe
public static interface DescribeSearchResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeSearchResponse.Builder,DescribeSearchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe group identifier associated with the search, if one was supplied on the request.queryStatement(String queryStatement) The natural-language query that was submitted for the search.The unique identifier of the search.searchType(String searchType) The search strategy used for the search.searchType(SearchType searchType) The search strategy used for the search.The time at which the search was started.The current status of the search.status(SearchStatus status) The current status of the search.statusReason(String statusReason) A human-readable explanation of the current status.workspaceName(String workspaceName) The name of the workspace the search runs against.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.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
-
searchId
The unique identifier of the search.
- Parameters:
searchId- The unique identifier of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceName
The name of the workspace the search runs against.
- Parameters:
workspaceName- The name of the workspace the search runs against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the search.
- Parameters:
status- The current status of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the search.
- Parameters:
status- The current status of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryStatement
The natural-language query that was submitted for the search.
- Parameters:
queryStatement- The natural-language query that was submitted for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchType
The search strategy used for the search.
- Parameters:
searchType- The search strategy used for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchType
The search strategy used for the search.
- Parameters:
searchType- The search strategy used for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A human-readable explanation of the current status. Populated when the search has
FAILED.- Parameters:
statusReason- A human-readable explanation of the current status. Populated when the search hasFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time at which the search was started.
- Parameters:
startedAt- The time at which the search was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The group identifier associated with the search, if one was supplied on the request.
- Parameters:
groupId- The group identifier associated with the search, if one was supplied on the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-