Class ListAnomaliesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest
-
- software.amazon.awssdk.services.cloudwatchlogs.model.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAnomaliesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanomalyDetectorArn()Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.static ListAnomaliesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The maximum number of items to return.StringnextToken()Returns the value of the NextToken property for this object.List<SdkField<?>>sdkFields()static Class<? extends ListAnomaliesRequest.Builder>serializableBuilderClass()SuppressionStatesuppressionState()You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.StringsuppressionStateAsString()You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.ListAnomaliesRequest.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
-
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,
suppressionStatewill returnSuppressionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsuppressionStateAsString().- 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:
SuppressionState
-
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,
suppressionStatewill returnSuppressionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsuppressionStateAsString().- 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:
SuppressionState
-
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:
toBuilderin interfaceToCopyableBuilder<ListAnomaliesRequest.Builder,ListAnomaliesRequest>- Specified by:
toBuilderin classCloudWatchLogsRequest
-
builder
public static ListAnomaliesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAnomaliesRequest.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
-
-