@Generated(value="software.amazon.awssdk:codegen") public final class ActiveViolation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActiveViolation.Builder,ActiveViolation>
Information about an active Device Defender security profile behavior violation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ActiveViolation.Builder |
| Modifier and Type | Method and Description |
|---|---|
Behavior |
behavior()
The behavior that is being violated.
|
static ActiveViolation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastViolationTime()
The time the most recent violation occurred.
|
MetricValue |
lastViolationValue()
The value of the metric (the measurement) that caused the most recent violation.
|
List<SdkField<?>> |
sdkFields() |
String |
securityProfileName()
The security profile with the behavior is in violation.
|
static Class<? extends ActiveViolation.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing responsible for the active violation.
|
ActiveViolation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VerificationState |
verificationState()
The verification state of the violation (detect alarm).
|
String |
verificationStateAsString()
The verification state of the violation (detect alarm).
|
String |
verificationStateDescription()
The description of the verification state of the violation.
|
ViolationEventAdditionalInfo |
violationEventAdditionalInfo()
The details of a violation event.
|
String |
violationId()
The ID of the active violation.
|
Instant |
violationStartTime()
The time the violation started.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String violationId()
The ID of the active violation.
public final String thingName()
The name of the thing responsible for the active violation.
public final String securityProfileName()
The security profile with the behavior is in violation.
public final Behavior behavior()
The behavior that is being violated.
public final MetricValue lastViolationValue()
The value of the metric (the measurement) that caused the most recent violation.
public final ViolationEventAdditionalInfo violationEventAdditionalInfo()
The details of a violation event.
public final VerificationState verificationState()
The verification state of the violation (detect alarm).
If the service returns an enum value that is not available in the current SDK version, verificationState
will return VerificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from verificationStateAsString().
VerificationStatepublic final String verificationStateAsString()
The verification state of the violation (detect alarm).
If the service returns an enum value that is not available in the current SDK version, verificationState
will return VerificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from verificationStateAsString().
VerificationStatepublic final String verificationStateDescription()
The description of the verification state of the violation.
public final Instant lastViolationTime()
The time the most recent violation occurred.
public final Instant violationStartTime()
The time the violation started.
public ActiveViolation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ActiveViolation.Builder,ActiveViolation>public static ActiveViolation.Builder builder()
public static Class<? extends ActiveViolation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.