Class ListAnomaliesRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListAnomaliesRequest.Builder,ListAnomaliesRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListAnomaliesRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<ListAnomaliesRequest.Builder,ListAnomaliesRequest>
  • Method Details

    • anomalyDetectorArn

      public final String anomalyDetectorArn()

      Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.

      Returns:
      Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.
    • suppressionState

      public final SuppressionState suppressionState()

      You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.

      If the service returns an enum value that is not available in the current SDK version, suppressionState will return SuppressionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from suppressionStateAsString().

      Returns:
      You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.
      See Also:
    • suppressionStateAsString

      public final String suppressionStateAsString()

      You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.

      If the service returns an enum value that is not available in the current SDK version, suppressionState will return SuppressionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from suppressionStateAsString().

      Returns:
      You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.
      See Also:
    • limit

      public final Integer limit()

      The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.

      Returns:
      The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.
    • nextToken

      public final String nextToken()
      Returns the value of the NextToken property for this object.
      Returns:
      The value of the NextToken property for this object.
    • toBuilder

      public ListAnomaliesRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ListAnomaliesRequest.Builder,ListAnomaliesRequest>
      Specified by:
      toBuilder in class CloudWatchLogsRequest
    • builder

      public static ListAnomaliesRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListAnomaliesRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo