Interface ListMonitoringAlertsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMonitoringAlertsResponse.Builder,ListMonitoringAlertsResponse>
,SageMakerResponse.Builder
,SdkBuilder<ListMonitoringAlertsResponse.Builder,ListMonitoringAlertsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListMonitoringAlertsResponse
public static interface ListMonitoringAlertsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListMonitoringAlertsResponse.Builder,ListMonitoringAlertsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMonitoringAlertsResponse.Builder
monitoringAlertSummaries(Collection<MonitoringAlertSummary> monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.ListMonitoringAlertsResponse.Builder
monitoringAlertSummaries(Consumer<MonitoringAlertSummary.Builder>... monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.ListMonitoringAlertsResponse.Builder
monitoringAlertSummaries(MonitoringAlertSummary... monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.ListMonitoringAlertsResponse.Builder
nextToken(String nextToken)
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 Detail
-
monitoringAlertSummaries
ListMonitoringAlertsResponse.Builder monitoringAlertSummaries(Collection<MonitoringAlertSummary> monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
- Parameters:
monitoringAlertSummaries
- A JSON array where each element is a summary for a monitoring alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringAlertSummaries
ListMonitoringAlertsResponse.Builder monitoringAlertSummaries(MonitoringAlertSummary... monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
- Parameters:
monitoringAlertSummaries
- A JSON array where each element is a summary for a monitoring alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringAlertSummaries
ListMonitoringAlertsResponse.Builder monitoringAlertSummaries(Consumer<MonitoringAlertSummary.Builder>... monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
This is a convenience method that creates an instance of theMonitoringAlertSummary.Builder
avoiding the need to create one manually viaMonitoringAlertSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#monitoringAlertSummaries(List
.) - Parameters:
monitoringAlertSummaries
- a consumer that will call methods onMonitoringAlertSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#monitoringAlertSummaries(java.util.Collection
)
-
nextToken
ListMonitoringAlertsResponse.Builder nextToken(String 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.
-
-