@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ViolationEvent extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Device Defender security profile behavior violation.
Constructor and Description |
---|
ViolationEvent() |
Modifier and Type | Method and Description |
---|---|
ViolationEvent |
clone() |
boolean |
equals(Object obj) |
Behavior |
getBehavior()
The behavior that was violated.
|
MetricValue |
getMetricValue()
The value of the metric (the measurement).
|
String |
getSecurityProfileName()
The name of the security profile whose behavior was violated.
|
String |
getThingName()
The name of the thing responsible for the violation event.
|
String |
getVerificationState()
The verification state of the violation (detect alarm).
|
String |
getVerificationStateDescription()
The description of the verification state of the violation.
|
ViolationEventAdditionalInfo |
getViolationEventAdditionalInfo()
The details of a violation event.
|
Date |
getViolationEventTime()
The time the violation event occurred.
|
String |
getViolationEventType()
The type of violation event.
|
String |
getViolationId()
The ID of the violation event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBehavior(Behavior behavior)
The behavior that was violated.
|
void |
setMetricValue(MetricValue metricValue)
The value of the metric (the measurement).
|
void |
setSecurityProfileName(String securityProfileName)
The name of the security profile whose behavior was violated.
|
void |
setThingName(String thingName)
The name of the thing responsible for the violation event.
|
void |
setVerificationState(String verificationState)
The verification state of the violation (detect alarm).
|
void |
setVerificationStateDescription(String verificationStateDescription)
The description of the verification state of the violation.
|
void |
setViolationEventAdditionalInfo(ViolationEventAdditionalInfo violationEventAdditionalInfo)
The details of a violation event.
|
void |
setViolationEventTime(Date violationEventTime)
The time the violation event occurred.
|
void |
setViolationEventType(String violationEventType)
The type of violation event.
|
void |
setViolationId(String violationId)
The ID of the violation event.
|
String |
toString()
Returns a string representation of this object.
|
ViolationEvent |
withBehavior(Behavior behavior)
The behavior that was violated.
|
ViolationEvent |
withMetricValue(MetricValue metricValue)
The value of the metric (the measurement).
|
ViolationEvent |
withSecurityProfileName(String securityProfileName)
The name of the security profile whose behavior was violated.
|
ViolationEvent |
withThingName(String thingName)
The name of the thing responsible for the violation event.
|
ViolationEvent |
withVerificationState(String verificationState)
The verification state of the violation (detect alarm).
|
ViolationEvent |
withVerificationState(VerificationState verificationState)
The verification state of the violation (detect alarm).
|
ViolationEvent |
withVerificationStateDescription(String verificationStateDescription)
The description of the verification state of the violation.
|
ViolationEvent |
withViolationEventAdditionalInfo(ViolationEventAdditionalInfo violationEventAdditionalInfo)
The details of a violation event.
|
ViolationEvent |
withViolationEventTime(Date violationEventTime)
The time the violation event occurred.
|
ViolationEvent |
withViolationEventType(String violationEventType)
The type of violation event.
|
ViolationEvent |
withViolationEventType(ViolationEventType violationEventType)
The type of violation event.
|
ViolationEvent |
withViolationId(String violationId)
The ID of the violation event.
|
public void setViolationId(String violationId)
The ID of the violation event.
violationId
- The ID of the violation event.public String getViolationId()
The ID of the violation event.
public ViolationEvent withViolationId(String violationId)
The ID of the violation event.
violationId
- The ID of the violation event.public void setThingName(String thingName)
The name of the thing responsible for the violation event.
thingName
- The name of the thing responsible for the violation event.public String getThingName()
The name of the thing responsible for the violation event.
public ViolationEvent withThingName(String thingName)
The name of the thing responsible for the violation event.
thingName
- The name of the thing responsible for the violation event.public void setSecurityProfileName(String securityProfileName)
The name of the security profile whose behavior was violated.
securityProfileName
- The name of the security profile whose behavior was violated.public String getSecurityProfileName()
The name of the security profile whose behavior was violated.
public ViolationEvent withSecurityProfileName(String securityProfileName)
The name of the security profile whose behavior was violated.
securityProfileName
- The name of the security profile whose behavior was violated.public void setBehavior(Behavior behavior)
The behavior that was violated.
behavior
- The behavior that was violated.public Behavior getBehavior()
The behavior that was violated.
public ViolationEvent withBehavior(Behavior behavior)
The behavior that was violated.
behavior
- The behavior that was violated.public void setMetricValue(MetricValue metricValue)
The value of the metric (the measurement).
metricValue
- The value of the metric (the measurement).public MetricValue getMetricValue()
The value of the metric (the measurement).
public ViolationEvent withMetricValue(MetricValue metricValue)
The value of the metric (the measurement).
metricValue
- The value of the metric (the measurement).public void setViolationEventAdditionalInfo(ViolationEventAdditionalInfo violationEventAdditionalInfo)
The details of a violation event.
violationEventAdditionalInfo
- The details of a violation event.public ViolationEventAdditionalInfo getViolationEventAdditionalInfo()
The details of a violation event.
public ViolationEvent withViolationEventAdditionalInfo(ViolationEventAdditionalInfo violationEventAdditionalInfo)
The details of a violation event.
violationEventAdditionalInfo
- The details of a violation event.public void setViolationEventType(String violationEventType)
The type of violation event.
violationEventType
- The type of violation event.ViolationEventType
public String getViolationEventType()
The type of violation event.
ViolationEventType
public ViolationEvent withViolationEventType(String violationEventType)
The type of violation event.
violationEventType
- The type of violation event.ViolationEventType
public ViolationEvent withViolationEventType(ViolationEventType violationEventType)
The type of violation event.
violationEventType
- The type of violation event.ViolationEventType
public void setVerificationState(String verificationState)
The verification state of the violation (detect alarm).
verificationState
- The verification state of the violation (detect alarm).VerificationState
public String getVerificationState()
The verification state of the violation (detect alarm).
VerificationState
public ViolationEvent withVerificationState(String verificationState)
The verification state of the violation (detect alarm).
verificationState
- The verification state of the violation (detect alarm).VerificationState
public ViolationEvent withVerificationState(VerificationState verificationState)
The verification state of the violation (detect alarm).
verificationState
- The verification state of the violation (detect alarm).VerificationState
public void setVerificationStateDescription(String verificationStateDescription)
The description of the verification state of the violation.
verificationStateDescription
- The description of the verification state of the violation.public String getVerificationStateDescription()
The description of the verification state of the violation.
public ViolationEvent withVerificationStateDescription(String verificationStateDescription)
The description of the verification state of the violation.
verificationStateDescription
- The description of the verification state of the violation.public void setViolationEventTime(Date violationEventTime)
The time the violation event occurred.
violationEventTime
- The time the violation event occurred.public Date getViolationEventTime()
The time the violation event occurred.
public ViolationEvent withViolationEventTime(Date violationEventTime)
The time the violation event occurred.
violationEventTime
- The time the violation event occurred.public String toString()
toString
in class Object
Object.toString()
public ViolationEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.