@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingHistoryUpdate extends Object implements Serializable, Cloneable, StructuredPojo
An array of objects that provides details about a change to a finding, including the Amazon Web Services Security Finding Format (ASFF) field that changed, the value of the field before the change, and the value of the field after the change.
Constructor and Description |
---|
FindingHistoryUpdate() |
Modifier and Type | Method and Description |
---|---|
FindingHistoryUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getNewValue()
The value of the ASFF field after the finding change event.
|
String |
getOldValue()
The value of the ASFF field before the finding change event.
|
String |
getUpdatedField()
The ASFF field that changed during the finding change event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNewValue(String newValue)
The value of the ASFF field after the finding change event.
|
void |
setOldValue(String oldValue)
The value of the ASFF field before the finding change event.
|
void |
setUpdatedField(String updatedField)
The ASFF field that changed during the finding change event.
|
String |
toString()
Returns a string representation of this object.
|
FindingHistoryUpdate |
withNewValue(String newValue)
The value of the ASFF field after the finding change event.
|
FindingHistoryUpdate |
withOldValue(String oldValue)
The value of the ASFF field before the finding change event.
|
FindingHistoryUpdate |
withUpdatedField(String updatedField)
The ASFF field that changed during the finding change event.
|
public void setUpdatedField(String updatedField)
The ASFF field that changed during the finding change event.
updatedField
- The ASFF field that changed during the finding change event.public String getUpdatedField()
The ASFF field that changed during the finding change event.
public FindingHistoryUpdate withUpdatedField(String updatedField)
The ASFF field that changed during the finding change event.
updatedField
- The ASFF field that changed during the finding change event.public void setOldValue(String oldValue)
The value of the ASFF field before the finding change event.
oldValue
- The value of the ASFF field before the finding change event.public String getOldValue()
The value of the ASFF field before the finding change event.
public FindingHistoryUpdate withOldValue(String oldValue)
The value of the ASFF field before the finding change event.
oldValue
- The value of the ASFF field before the finding change event.public void setNewValue(String newValue)
The value of the ASFF field after the finding change event. To preserve storage and readability, Security Hub
omits this value if
FindingHistoryRecord
exceeds database limits.
newValue
- The value of the ASFF field after the finding change event. To preserve storage and readability, Security
Hub omits this value if
FindingHistoryRecord
exceeds database limits.public String getNewValue()
The value of the ASFF field after the finding change event. To preserve storage and readability, Security Hub
omits this value if
FindingHistoryRecord
exceeds database limits.
FindingHistoryRecord
exceeds database limits.public FindingHistoryUpdate withNewValue(String newValue)
The value of the ASFF field after the finding change event. To preserve storage and readability, Security Hub
omits this value if
FindingHistoryRecord
exceeds database limits.
newValue
- The value of the ASFF field after the finding change event. To preserve storage and readability, Security
Hub omits this value if
FindingHistoryRecord
exceeds database limits.public String toString()
toString
in class Object
Object.toString()
public FindingHistoryUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.