@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
GetSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
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.
|
List<List<String>> |
getSnapshotsData()
The search metrics data.
|
List<String> |
getSnapshotsDataHeader()
The column headers for the search metrics data.
|
TimeRange |
getSnapShotTimeFilter()
The Unix timestamp for the beginning and end of the time window for the search metrics data.
|
int |
hashCode() |
void |
setNextToken(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.
|
void |
setSnapshotsData(Collection<List<String>> snapshotsData)
The search metrics data.
|
void |
setSnapshotsDataHeader(Collection<String> snapshotsDataHeader)
The column headers for the search metrics data.
|
void |
setSnapShotTimeFilter(TimeRange snapShotTimeFilter)
The Unix timestamp for the beginning and end of the time window for the search metrics data.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotsResult |
withNextToken(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.
|
GetSnapshotsResult |
withSnapshotsData(Collection<List<String>> snapshotsData)
The search metrics data.
|
GetSnapshotsResult |
withSnapshotsData(List<String>... snapshotsData)
The search metrics data.
|
GetSnapshotsResult |
withSnapshotsDataHeader(Collection<String> snapshotsDataHeader)
The column headers for the search metrics data.
|
GetSnapshotsResult |
withSnapshotsDataHeader(String... snapshotsDataHeader)
The column headers for the search metrics data.
|
GetSnapshotsResult |
withSnapShotTimeFilter(TimeRange snapShotTimeFilter)
The Unix timestamp for the beginning and end of the time window for the search metrics data.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSnapShotTimeFilter(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.public TimeRange getSnapShotTimeFilter()
The Unix timestamp for the beginning and end of the time window for the search metrics data.
public GetSnapshotsResult withSnapShotTimeFilter(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.public List<String> getSnapshotsDataHeader()
The column headers for the search metrics data.
public void setSnapshotsDataHeader(Collection<String> snapshotsDataHeader)
The column headers for the search metrics data.
snapshotsDataHeader
- The column headers for the search metrics data.public GetSnapshotsResult withSnapshotsDataHeader(String... snapshotsDataHeader)
The column headers for the search metrics data.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotsDataHeader(java.util.Collection)
or withSnapshotsDataHeader(java.util.Collection)
if you want to override the existing values.
snapshotsDataHeader
- The column headers for the search metrics data.public GetSnapshotsResult withSnapshotsDataHeader(Collection<String> snapshotsDataHeader)
The column headers for the search metrics data.
snapshotsDataHeader
- The column headers for the search metrics data.public List<List<String>> getSnapshotsData()
The search metrics data. The data returned depends on the metric type you requested.
public void setSnapshotsData(Collection<List<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.public GetSnapshotsResult withSnapshotsData(List<String>... snapshotsData)
The search metrics data. The data returned depends on the metric type you requested.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotsData(java.util.Collection)
or withSnapshotsData(java.util.Collection)
if you want
to override the existing values.
snapshotsData
- The search metrics data. The data returned depends on the metric type you requested.public GetSnapshotsResult withSnapshotsData(Collection<List<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.public void setNextToken(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.public String getNextToken()
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.
public GetSnapshotsResult withNextToken(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.public String toString()
toString
in class Object
Object.toString()
public GetSnapshotsResult clone()