@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchInsightsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchInsightsRequest() |
Modifier and Type | Method and Description |
---|---|
SearchInsightsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
SearchInsightsFilters |
getFilters()
A
SearchInsightsFilters object that is used to set the severity and status filters on your insight
search. |
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
StartTimeRange |
getStartTimeRange()
The start of the time range passed in.
|
String |
getType()
The type of insights you are searching for (
REACTIVE or PROACTIVE ). |
int |
hashCode() |
void |
setFilters(SearchInsightsFilters filters)
A
SearchInsightsFilters object that is used to set the severity and status filters on your insight
search. |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setStartTimeRange(StartTimeRange startTimeRange)
The start of the time range passed in.
|
void |
setType(String type)
The type of insights you are searching for (
REACTIVE or PROACTIVE ). |
String |
toString()
Returns a string representation of this object.
|
SearchInsightsRequest |
withFilters(SearchInsightsFilters filters)
A
SearchInsightsFilters object that is used to set the severity and status filters on your insight
search. |
SearchInsightsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
SearchInsightsRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
SearchInsightsRequest |
withStartTimeRange(StartTimeRange startTimeRange)
The start of the time range passed in.
|
SearchInsightsRequest |
withType(InsightType type)
The type of insights you are searching for (
REACTIVE or PROACTIVE ). |
SearchInsightsRequest |
withType(String type)
The type of insights you are searching for (
REACTIVE or PROACTIVE ). |
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 setStartTimeRange(StartTimeRange startTimeRange)
The start of the time range passed in. Returned insights occurred after this time.
startTimeRange
- The start of the time range passed in. Returned insights occurred after this time.public StartTimeRange getStartTimeRange()
The start of the time range passed in. Returned insights occurred after this time.
public SearchInsightsRequest withStartTimeRange(StartTimeRange startTimeRange)
The start of the time range passed in. Returned insights occurred after this time.
startTimeRange
- The start of the time range passed in. Returned insights occurred after this time.public void setFilters(SearchInsightsFilters filters)
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight
search.
filters
- A SearchInsightsFilters
object that is used to set the severity and status filters on your
insight search.public SearchInsightsFilters getFilters()
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight
search.
SearchInsightsFilters
object that is used to set the severity and status filters on your
insight search.public SearchInsightsRequest withFilters(SearchInsightsFilters filters)
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight
search.
filters
- A SearchInsightsFilters
object that is used to set the severity and status filters on your
insight search.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public SearchInsightsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
public SearchInsightsRequest withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public void setType(String type)
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
type
- The type of insights you are searching for (REACTIVE
or PROACTIVE
).InsightType
public String getType()
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
REACTIVE
or PROACTIVE
).InsightType
public SearchInsightsRequest withType(String type)
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
type
- The type of insights you are searching for (REACTIVE
or PROACTIVE
).InsightType
public SearchInsightsRequest withType(InsightType type)
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
type
- The type of insights you are searching for (REACTIVE
or PROACTIVE
).InsightType
public String toString()
toString
in class Object
Object.toString()
public SearchInsightsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()