public static interface GetSnapshotsResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<GetSnapshotsResponse.Builder,GetSnapshotsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetSnapshotsResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to
retrieve the next set of search metrics data.
|
GetSnapshotsResponse.Builder |
snapshotsData(Collection<? extends Collection<String>> snapshotsData)
The search metrics data.
|
GetSnapshotsResponse.Builder |
snapshotsData(Collection<String>... snapshotsData)
The search metrics data.
|
GetSnapshotsResponse.Builder |
snapshotsDataHeader(Collection<String> snapshotsDataHeader)
The column headers for the search metrics data.
|
GetSnapshotsResponse.Builder |
snapshotsDataHeader(String... snapshotsDataHeader)
The column headers for the search metrics data.
|
default GetSnapshotsResponse.Builder |
snapShotTimeFilter(Consumer<TimeRange.Builder> snapShotTimeFilter)
The Unix timestamp for the beginning and end of the time window for the search metrics data.
|
GetSnapshotsResponse.Builder |
snapShotTimeFilter(TimeRange snapShotTimeFilter)
The Unix timestamp for the beginning and end of the time window for the search metrics data.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSnapshotsResponse.Builder snapShotTimeFilter(TimeRange snapShotTimeFilter)
The Unix timestamp for the beginning and end of the time window for the search metrics data.
snapShotTimeFilter - The Unix timestamp for the beginning and end of the time window for the search metrics data.default GetSnapshotsResponse.Builder snapShotTimeFilter(Consumer<TimeRange.Builder> snapShotTimeFilter)
The Unix timestamp for the beginning and end of the time window for the search metrics data.
This is a convenience method that creates an instance of theTimeRange.Builder avoiding the need to
create one manually via TimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to snapShotTimeFilter(TimeRange).
snapShotTimeFilter - a consumer that will call methods on TimeRange.BuildersnapShotTimeFilter(TimeRange)GetSnapshotsResponse.Builder snapshotsDataHeader(Collection<String> snapshotsDataHeader)
The column headers for the search metrics data.
snapshotsDataHeader - The column headers for the search metrics data.GetSnapshotsResponse.Builder snapshotsDataHeader(String... snapshotsDataHeader)
The column headers for the search metrics data.
snapshotsDataHeader - The column headers for the search metrics data.GetSnapshotsResponse.Builder snapshotsData(Collection<? extends Collection<String>> snapshotsData)
The search metrics data. The data returned depends on the metric type you requested.
snapshotsData - The search metrics data. The data returned depends on the metric type you requested.GetSnapshotsResponse.Builder snapshotsData(Collection<String>... snapshotsData)
The search metrics data. The data returned depends on the metric type you requested.
snapshotsData - The search metrics data. The data returned depends on the metric type you requested.GetSnapshotsResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of search metrics data.
nextToken - If the response is truncated, Amazon Kendra returns this token, which you can use in a later request
to retrieve the next set of search metrics data.Copyright © 2023. All rights reserved.