Interface ListMonitoringAlertHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMonitoringAlertHistoryResponse.Builder,
,ListMonitoringAlertHistoryResponse> SageMakerResponse.Builder
,SdkBuilder<ListMonitoringAlertHistoryResponse.Builder,
,ListMonitoringAlertHistoryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMonitoringAlertHistoryResponse
@Mutable
@NotThreadSafe
public static interface ListMonitoringAlertHistoryResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListMonitoringAlertHistoryResponse.Builder,ListMonitoringAlertHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmonitoringAlertHistory
(Collection<MonitoringAlertHistorySummary> monitoringAlertHistory) An alert history for a model monitoring schedule.monitoringAlertHistory
(Consumer<MonitoringAlertHistorySummary.Builder>... monitoringAlertHistory) An alert history for a model monitoring schedule.monitoringAlertHistory
(MonitoringAlertHistorySummary... monitoringAlertHistory) An alert history for a model monitoring schedule.If the response is truncated, SageMaker returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
monitoringAlertHistory
ListMonitoringAlertHistoryResponse.Builder monitoringAlertHistory(Collection<MonitoringAlertHistorySummary> monitoringAlertHistory) An alert history for a model monitoring schedule.
- Parameters:
monitoringAlertHistory
- An alert history for a model monitoring schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringAlertHistory
ListMonitoringAlertHistoryResponse.Builder monitoringAlertHistory(MonitoringAlertHistorySummary... monitoringAlertHistory) An alert history for a model monitoring schedule.
- Parameters:
monitoringAlertHistory
- An alert history for a model monitoring schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringAlertHistory
ListMonitoringAlertHistoryResponse.Builder monitoringAlertHistory(Consumer<MonitoringAlertHistorySummary.Builder>... monitoringAlertHistory) An alert history for a model monitoring schedule.
This is a convenience method that creates an instance of theMonitoringAlertHistorySummary.Builder
avoiding the need to create one manually viaMonitoringAlertHistorySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringAlertHistory(List<MonitoringAlertHistorySummary>)
.- Parameters:
monitoringAlertHistory
- a consumer that will call methods onMonitoringAlertHistorySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.
- Parameters:
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-