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 interfaceAnomalyDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyDetection.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MitigationInEffectEnummitigationInEffect()Indicates whether anomaly mitigation is in progress.StringmitigationInEffectAsString()Indicates whether anomaly mitigation is in progress.AnomalyResultEnumresult()The latest anomaly detection result.StringresultAsString()The latest anomaly detection result.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AnomalyDetection.Builder>serializableBuilderClass()AnomalyDetection.BuildertoBuilder()StringtoString()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,
resultwill 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,
resultwill 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,
mitigationInEffectwill 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,
mitigationInEffectwill 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:
toBuilderin 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-