public static interface ListMonitorEvaluationsRequest.Builder extends ForecastRequest.Builder, SdkPojo, CopyableBuilder<ListMonitorEvaluationsRequest.Builder,ListMonitorEvaluationsRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListMonitorEvaluationsRequest.Builder nextToken(String nextToken)
If the result of the previous request was truncated, the response includes a NextToken. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
nextToken - If the result of the previous request was truncated, the response includes a NextToken.
To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.ListMonitorEvaluationsRequest.Builder maxResults(Integer maxResults)
The maximum number of monitoring results to return.
maxResults - The maximum number of monitoring results to return.ListMonitorEvaluationsRequest.Builder monitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource to get results from.
monitorArn - The Amazon Resource Name (ARN) of the monitor resource to get results from.ListMonitorEvaluationsRequest.Builder filters(Collection<Filter> filters)
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS or IS_NOT, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition - The condition to apply. Valid values are IS and IS_NOT.
Key - The name of the parameter to filter on. The only valid value is
EvaluationState.
Value - The value to match. Valid values are only SUCCESS or FAILURE.
For example, to list only successful monitor evaluations, you would specify:
"Filters": [ { "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ]
filters - An array of filters. For each filter, provide a condition and a match statement. The condition is
either IS or IS_NOT, which specifies whether to include or exclude the
resources that match the statement from the list. The match statement consists of a key and a
value.
Filter properties
Condition - The condition to apply. Valid values are IS and
IS_NOT.
Key - The name of the parameter to filter on. The only valid value is
EvaluationState.
Value - The value to match. Valid values are only SUCCESS or
FAILURE.
For example, to list only successful monitor evaluations, you would specify:
"Filters": [ { "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ]
ListMonitorEvaluationsRequest.Builder filters(Filter... filters)
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS or IS_NOT, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition - The condition to apply. Valid values are IS and IS_NOT.
Key - The name of the parameter to filter on. The only valid value is
EvaluationState.
Value - The value to match. Valid values are only SUCCESS or FAILURE.
For example, to list only successful monitor evaluations, you would specify:
"Filters": [ { "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ]
filters - An array of filters. For each filter, provide a condition and a match statement. The condition is
either IS or IS_NOT, which specifies whether to include or exclude the
resources that match the statement from the list. The match statement consists of a key and a
value.
Filter properties
Condition - The condition to apply. Valid values are IS and
IS_NOT.
Key - The name of the parameter to filter on. The only valid value is
EvaluationState.
Value - The value to match. Valid values are only SUCCESS or
FAILURE.
For example, to list only successful monitor evaluations, you would specify:
"Filters": [ { "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ]
ListMonitorEvaluationsRequest.Builder filters(Consumer<Filter.Builder>... filters)
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS or IS_NOT, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition - The condition to apply. Valid values are IS and IS_NOT.
Key - The name of the parameter to filter on. The only valid value is
EvaluationState.
Value - The value to match. Valid values are only SUCCESS or FAILURE.
For example, to list only successful monitor evaluations, you would specify:
"Filters": [ { "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ]
Filter.Builder avoiding the need to create one
manually via Filter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #filters(List.
filters - a consumer that will call methods on
Filter.Builder#filters(java.util.Collection) ListMonitorEvaluationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListMonitorEvaluationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.