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 previousListMonitoringAlertHistoryrequest 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, whetherAscendingorDescending, of the alert history.The sort order, whetherAscendingorDescending, 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
AscendingorDescending, of the alert history. The default isDescending.- Parameters:
sortOrder- The sort order, whetherAscendingorDescending, 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
AscendingorDescending, of the alert history. The default isDescending.- Parameters:
sortOrder- The sort order, whetherAscendingorDescending, 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
ListMonitoringAlertHistoryrequest 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 previousListMonitoringAlertHistoryrequest 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-