@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
GetSnapshotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIndexId()
The identifier of the index to get search metrics data.
|
String |
getInterval()
The time interval or time window to get search metrics data.
|
Integer |
getMaxResults()
The maximum number of returned data for the metric.
|
String |
getMetricType()
The metric you want to retrieve.
|
String |
getNextToken()
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a
pagination token in the response.
|
int |
hashCode() |
void |
setIndexId(String indexId)
The identifier of the index to get search metrics data.
|
void |
setInterval(String interval)
The time interval or time window to get search metrics data.
|
void |
setMaxResults(Integer maxResults)
The maximum number of returned data for the metric.
|
void |
setMetricType(String metricType)
The metric you want to retrieve.
|
void |
setNextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a
pagination token in the response.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotsRequest |
withIndexId(String indexId)
The identifier of the index to get search metrics data.
|
GetSnapshotsRequest |
withInterval(Interval interval)
The time interval or time window to get search metrics data.
|
GetSnapshotsRequest |
withInterval(String interval)
The time interval or time window to get search metrics data.
|
GetSnapshotsRequest |
withMaxResults(Integer maxResults)
The maximum number of returned data for the metric.
|
GetSnapshotsRequest |
withMetricType(MetricType metricType)
The metric you want to retrieve.
|
GetSnapshotsRequest |
withMetricType(String metricType)
The metric you want to retrieve.
|
GetSnapshotsRequest |
withNextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a
pagination token in the response.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIndexId(String indexId)
The identifier of the index to get search metrics data.
indexId
- The identifier of the index to get search metrics data.public String getIndexId()
The identifier of the index to get search metrics data.
public GetSnapshotsRequest withIndexId(String indexId)
The identifier of the index to get search metrics data.
indexId
- The identifier of the index to get search metrics data.public void setInterval(String interval)
The time interval or time window to get search metrics data. The time interval uses the time zone of your index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the following
Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day before
the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the last day
of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month and
ending on last day of the month.
interval
- The time interval or time window to get search metrics data. The time interval uses the time zone of your
index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current
date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the
following Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day
before the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the
last day of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month
and ending on last day of the month.
Interval
public String getInterval()
The time interval or time window to get search metrics data. The time interval uses the time zone of your index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the following
Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day before
the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the last day
of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month and
ending on last day of the month.
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current
date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following
Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the
following Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day
before the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the
last day of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month
and ending on last day of the month.
Interval
public GetSnapshotsRequest withInterval(String interval)
The time interval or time window to get search metrics data. The time interval uses the time zone of your index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the following
Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day before
the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the last day
of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month and
ending on last day of the month.
interval
- The time interval or time window to get search metrics data. The time interval uses the time zone of your
index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current
date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the
following Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day
before the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the
last day of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month
and ending on last day of the month.
Interval
public GetSnapshotsRequest withInterval(Interval interval)
The time interval or time window to get search metrics data. The time interval uses the time zone of your index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the following
Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day before
the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the last day
of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month and
ending on last day of the month.
interval
- The time interval or time window to get search metrics data. The time interval uses the time zone of your
index. You can view data in the following time windows:
THIS_WEEK
: The current week, starting on the Sunday and ending on the day before the current
date.
ONE_WEEK_AGO
: The previous week, starting on the Sunday and ending on the following Saturday.
TWO_WEEKS_AGO
: The week before the previous week, starting on the Sunday and ending on the
following Saturday.
THIS_MONTH
: The current month, starting on the first day of the month and ending on the day
before the current date.
ONE_MONTH_AGO
: The previous month, starting on the first day of the month and ending on the
last day of the month.
TWO_MONTHS_AGO
: The month before the previous month, starting on the first day of the month
and ending on last day of the month.
Interval
public void setMetricType(String metricType)
The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
metricType
- The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
MetricType
public String getMetricType()
The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
For more information about the metrics you can view, see Gaining insights with search analytics.
MetricType
public GetSnapshotsRequest withMetricType(String metricType)
The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
metricType
- The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
MetricType
public GetSnapshotsRequest withMetricType(MetricType metricType)
The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
metricType
- The metric you want to retrieve. You can specify only one metric per call.
For more information about the metrics you can view, see Gaining insights with search analytics.
MetricType
public void setNextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of search metrics data.
nextToken
- If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a
pagination token in the response. You can use this pagination token to retrieve the next set of search
metrics data.public String getNextToken()
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of search metrics data.
public GetSnapshotsRequest withNextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of search metrics data.
nextToken
- If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a
pagination token in the response. You can use this pagination token to retrieve the next set of search
metrics data.public void setMaxResults(Integer maxResults)
The maximum number of returned data for the metric.
maxResults
- The maximum number of returned data for the metric.public Integer getMaxResults()
The maximum number of returned data for the metric.
public GetSnapshotsRequest withMaxResults(Integer maxResults)
The maximum number of returned data for the metric.
maxResults
- The maximum number of returned data for the metric.public String toString()
toString
in class Object
Object.toString()
public GetSnapshotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()