Class AnomalyDetection
- java.lang.Object
-
- software.amazon.awssdk.services.elasticloadbalancingv2.model.AnomalyDetection
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AnomalyDetection.Builder,AnomalyDetection>
@Generated("software.amazon.awssdk:codegen") public final class AnomalyDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnomalyDetection.Builder,AnomalyDetection>
Information about anomaly detection and mitigation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AnomalyDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyDetection.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
MitigationInEffectEnum
mitigationInEffect()
Indicates whether anomaly mitigation is in progress.String
mitigationInEffectAsString()
Indicates whether anomaly mitigation is in progress.AnomalyResultEnum
result()
The latest anomaly detection result.String
resultAsString()
The latest anomaly detection result.List<SdkField<?>>
sdkFields()
static Class<? extends AnomalyDetection.Builder>
serializableBuilderClass()
AnomalyDetection.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
result
public final AnomalyResultEnum result()
The latest anomaly detection result.
If the service returns an enum value that is not available in the current SDK version,
result
will returnAnomalyResultEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultAsString()
.- Returns:
- The latest anomaly detection result.
- See Also:
AnomalyResultEnum
-
resultAsString
public final String resultAsString()
The latest anomaly detection result.
If the service returns an enum value that is not available in the current SDK version,
result
will returnAnomalyResultEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultAsString()
.- Returns:
- The latest anomaly detection result.
- See Also:
AnomalyResultEnum
-
mitigationInEffect
public final MitigationInEffectEnum mitigationInEffect()
Indicates whether anomaly mitigation is in progress.
If the service returns an enum value that is not available in the current SDK version,
mitigationInEffect
will returnMitigationInEffectEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommitigationInEffectAsString()
.- Returns:
- Indicates whether anomaly mitigation is in progress.
- See Also:
MitigationInEffectEnum
-
mitigationInEffectAsString
public final String mitigationInEffectAsString()
Indicates whether anomaly mitigation is in progress.
If the service returns an enum value that is not available in the current SDK version,
mitigationInEffect
will returnMitigationInEffectEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommitigationInEffectAsString()
.- Returns:
- Indicates whether anomaly mitigation is in progress.
- See Also:
MitigationInEffectEnum
-
toBuilder
public AnomalyDetection.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AnomalyDetection.Builder,AnomalyDetection>
-
builder
public static AnomalyDetection.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnomalyDetection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-