@Generated(value="software.amazon.awssdk:codegen") public final class ViolationEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ViolationEvent.Builder,ViolationEvent>
Information about a Device Defender security profile behavior violation.
Modifier and Type | Class and Description |
---|---|
static interface |
ViolationEvent.Builder |
Modifier and Type | Method and Description |
---|---|
Behavior |
behavior()
The behavior that was violated.
|
static ViolationEvent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MetricValue |
metricValue()
The value of the metric (the measurement).
|
List<SdkField<?>> |
sdkFields() |
String |
securityProfileName()
The name of the security profile whose behavior was violated.
|
static Class<? extends ViolationEvent.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing responsible for the violation event.
|
ViolationEvent.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.
|
Instant |
violationEventTime()
The time the violation event occurred.
|
ViolationEventType |
violationEventType()
The type of violation event.
|
String |
violationEventTypeAsString()
The type of violation event.
|
String |
violationId()
The ID of the violation event.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String violationId()
The ID of the violation event.
public final String thingName()
The name of the thing responsible for the violation event.
public final String securityProfileName()
The name of the security profile whose behavior was violated.
public final Behavior behavior()
The behavior that was violated.
public final MetricValue metricValue()
The value of the metric (the measurement).
public final ViolationEventAdditionalInfo violationEventAdditionalInfo()
The details of a violation event.
public final ViolationEventType violationEventType()
The type of violation event.
If the service returns an enum value that is not available in the current SDK version,
violationEventType
will return ViolationEventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from violationEventTypeAsString()
.
ViolationEventType
public final String violationEventTypeAsString()
The type of violation event.
If the service returns an enum value that is not available in the current SDK version,
violationEventType
will return ViolationEventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from violationEventTypeAsString()
.
ViolationEventType
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()
.
VerificationState
public 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()
.
VerificationState
public final String verificationStateDescription()
The description of the verification state of the violation.
public final Instant violationEventTime()
The time the violation event occurred.
public ViolationEvent.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ViolationEvent.Builder,ViolationEvent>
public static ViolationEvent.Builder builder()
public static Class<? extends ViolationEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.