Interface ListMonitoringAlertHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListMonitoringAlertHistoryRequest.Builder,
,ListMonitoringAlertHistoryRequest> SageMakerRequest.Builder
,SdkBuilder<ListMonitoringAlertHistoryRequest.Builder,
,ListMonitoringAlertHistoryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListMonitoringAlertHistoryRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter
(Instant creationTimeAfter) A filter that returns only alerts created on or after the specified time.creationTimeBefore
(Instant creationTimeBefore) A filter that returns only alerts created on or before the specified time.maxResults
(Integer maxResults) The maximum number of results to display.monitoringAlertName
(String monitoringAlertName) The name of a monitoring alert.monitoringScheduleName
(String monitoringScheduleName) The name of a monitoring schedule.If the result of the previousListMonitoringAlertHistory
request was truncated, the response includes aNextToken
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The field used to sort results.sortBy
(MonitoringAlertHistorySortKey sortBy) The field used to sort results.The sort order, whetherAscending
orDescending
, of the alert history.The sort order, whetherAscending
orDescending
, of the alert history.statusEquals
(String statusEquals) A filter that retrieves only alerts with a specific status.statusEquals
(MonitoringAlertStatus statusEquals) A filter that retrieves only alerts with a specific status.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monitoringScheduleName
The name of a monitoring schedule.
- Parameters:
monitoringScheduleName
- The name of a monitoring schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringAlertName
The name of a monitoring alert.
- Parameters:
monitoringAlertName
- The name of a monitoring alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The field used to sort results. The default is
CreationTime
.- Parameters:
sortBy
- The field used to sort results. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The field used to sort results. The default is
CreationTime
.- Parameters:
sortBy
- The field used to sort results. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order, whether
Ascending
orDescending
, of the alert history. The default isDescending
.- Parameters:
sortOrder
- The sort order, whetherAscending
orDescending
, of the alert history. The default isDescending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order, whether
Ascending
orDescending
, of the alert history. The default isDescending
.- Parameters:
sortOrder
- The sort order, whetherAscending
orDescending
, of the alert history. The default isDescending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the result of the previous
ListMonitoringAlertHistory
request was truncated, the response includes aNextToken
. To retrieve the next set of alerts in the history, use the token in the next request.- Parameters:
nextToken
- If the result of the previousListMonitoringAlertHistory
request was truncated, the response includes aNextToken
. To retrieve the next set of alerts in the history, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to display. The default is 100.
- Parameters:
maxResults
- The maximum number of results to display. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
A filter that returns only alerts created on or before the specified time.
- Parameters:
creationTimeBefore
- A filter that returns only alerts created on or before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeAfter
A filter that returns only alerts created on or after the specified time.
- Parameters:
creationTimeAfter
- A filter that returns only alerts created on or after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusEquals
A filter that retrieves only alerts with a specific status.
- Parameters:
statusEquals
- A filter that retrieves only alerts with a specific status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusEquals
A filter that retrieves only alerts with a specific status.
- Parameters:
statusEquals
- A filter that retrieves only alerts with a specific status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListMonitoringAlertHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListMonitoringAlertHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-