@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 which is being violated.
|
static ActiveViolation.Builder |
builder() |
boolean |
equals(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) which caused the most recent violation.
|
List<SdkField<?>> |
sdkFields() |
String |
securityProfileName()
The security profile whose 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
violationId()
The ID of the active violation.
|
Instant |
violationStartTime()
The time the violation started.
|
copy
public String violationId()
The ID of the active violation.
public String thingName()
The name of the thing responsible for the active violation.
public String securityProfileName()
The security profile whose behavior is in violation.
public Behavior behavior()
The behavior which is being violated.
public MetricValue lastViolationValue()
The value of the metric (the measurement) which caused the most recent violation.
public Instant lastViolationTime()
The time the most recent violation occurred.
public Instant violationStartTime()
The time the violation started.
public ActiveViolation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActiveViolation.Builder,ActiveViolation>
public static ActiveViolation.Builder builder()
public static Class<? extends ActiveViolation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.