@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.
|
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 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 © 2021. All rights reserved.