Class ListMonitoringAlertHistoryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.ListMonitoringAlertHistoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListMonitoringAlertHistoryRequest.Builder,ListMonitoringAlertHistoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListMonitoringAlertHistoryRequest extends SageMakerRequest implements ToCopyableBuilder<ListMonitoringAlertHistoryRequest.Builder,ListMonitoringAlertHistoryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListMonitoringAlertHistoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListMonitoringAlertHistoryRequest.Builderbuilder()InstantcreationTimeAfter()A filter that returns only alerts created on or after the specified time.InstantcreationTimeBefore()A filter that returns only alerts created on or before the specified time.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to display.StringmonitoringAlertName()The name of a monitoring alert.StringmonitoringScheduleName()The name of a monitoring schedule.StringnextToken()If the result of the previousListMonitoringAlertHistoryrequest was truncated, the response includes aNextToken.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListMonitoringAlertHistoryRequest.Builder>serializableBuilderClass()MonitoringAlertHistorySortKeysortBy()The field used to sort results.StringsortByAsString()The field used to sort results.SortOrdersortOrder()The sort order, whetherAscendingorDescending, of the alert history.StringsortOrderAsString()The sort order, whetherAscendingorDescending, of the alert history.MonitoringAlertStatusstatusEquals()A filter that retrieves only alerts with a specific status.StringstatusEqualsAsString()A filter that retrieves only alerts with a specific status.ListMonitoringAlertHistoryRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
monitoringScheduleName
public final String monitoringScheduleName()
The name of a monitoring schedule.
- Returns:
- The name of a monitoring schedule.
-
monitoringAlertName
public final String monitoringAlertName()
The name of a monitoring alert.
- Returns:
- The name of a monitoring alert.
-
sortBy
public final MonitoringAlertHistorySortKey sortBy()
The field used to sort results. The default is
CreationTime.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnMonitoringAlertHistorySortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The field used to sort results. The default is
CreationTime. - See Also:
MonitoringAlertHistorySortKey
-
sortByAsString
public final String sortByAsString()
The field used to sort results. The default is
CreationTime.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnMonitoringAlertHistorySortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The field used to sort results. The default is
CreationTime. - See Also:
MonitoringAlertHistorySortKey
-
sortOrder
public final SortOrder sortOrder()
The sort order, whether
AscendingorDescending, of the alert history. The default isDescending.If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The sort order, whether
AscendingorDescending, of the alert history. The default isDescending. - See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The sort order, whether
AscendingorDescending, of the alert history. The default isDescending.If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The sort order, whether
AscendingorDescending, of the alert history. The default isDescending. - See Also:
SortOrder
-
nextToken
public final String 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.- Returns:
- 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.
-
maxResults
public final Integer maxResults()
The maximum number of results to display. The default is 100.
- Returns:
- The maximum number of results to display. The default is 100.
-
creationTimeBefore
public final Instant creationTimeBefore()
A filter that returns only alerts created on or before the specified time.
- Returns:
- A filter that returns only alerts created on or before the specified time.
-
creationTimeAfter
public final Instant creationTimeAfter()
A filter that returns only alerts created on or after the specified time.
- Returns:
- A filter that returns only alerts created on or after the specified time.
-
statusEquals
public final MonitoringAlertStatus statusEquals()
A filter that retrieves only alerts with a specific status.
If the service returns an enum value that is not available in the current SDK version,
statusEqualswill returnMonitoringAlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusEqualsAsString().- Returns:
- A filter that retrieves only alerts with a specific status.
- See Also:
MonitoringAlertStatus
-
statusEqualsAsString
public final String statusEqualsAsString()
A filter that retrieves only alerts with a specific status.
If the service returns an enum value that is not available in the current SDK version,
statusEqualswill returnMonitoringAlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusEqualsAsString().- Returns:
- A filter that retrieves only alerts with a specific status.
- See Also:
MonitoringAlertStatus
-
toBuilder
public ListMonitoringAlertHistoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListMonitoringAlertHistoryRequest.Builder,ListMonitoringAlertHistoryRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static ListMonitoringAlertHistoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListMonitoringAlertHistoryRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-