@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditEvent extends Object implements Serializable, Cloneable, StructuredPojo
Represents the content of a particular audit event.
Constructor and Description |
---|
AuditEvent() |
Modifier and Type | Method and Description |
---|---|
AuditEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEventId()
Unique identifier of a case audit history event.
|
List<AuditEventField> |
getFields()
A list of Case Audit History event fields.
|
AuditEventPerformedBy |
getPerformedBy()
Information of the user which performed the audit.
|
Date |
getPerformedTime()
Time at which an Audit History event took place.
|
String |
getRelatedItemType()
The Type of the related item.
|
String |
getType()
The Type of an audit history event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventId(String eventId)
Unique identifier of a case audit history event.
|
void |
setFields(Collection<AuditEventField> fields)
A list of Case Audit History event fields.
|
void |
setPerformedBy(AuditEventPerformedBy performedBy)
Information of the user which performed the audit.
|
void |
setPerformedTime(Date performedTime)
Time at which an Audit History event took place.
|
void |
setRelatedItemType(String relatedItemType)
The Type of the related item.
|
void |
setType(String type)
The Type of an audit history event.
|
String |
toString()
Returns a string representation of this object.
|
AuditEvent |
withEventId(String eventId)
Unique identifier of a case audit history event.
|
AuditEvent |
withFields(AuditEventField... fields)
A list of Case Audit History event fields.
|
AuditEvent |
withFields(Collection<AuditEventField> fields)
A list of Case Audit History event fields.
|
AuditEvent |
withPerformedBy(AuditEventPerformedBy performedBy)
Information of the user which performed the audit.
|
AuditEvent |
withPerformedTime(Date performedTime)
Time at which an Audit History event took place.
|
AuditEvent |
withRelatedItemType(RelatedItemType relatedItemType)
The Type of the related item.
|
AuditEvent |
withRelatedItemType(String relatedItemType)
The Type of the related item.
|
AuditEvent |
withType(AuditEventType type)
The Type of an audit history event.
|
AuditEvent |
withType(String type)
The Type of an audit history event.
|
public void setEventId(String eventId)
Unique identifier of a case audit history event.
eventId
- Unique identifier of a case audit history event.public String getEventId()
Unique identifier of a case audit history event.
public AuditEvent withEventId(String eventId)
Unique identifier of a case audit history event.
eventId
- Unique identifier of a case audit history event.public List<AuditEventField> getFields()
A list of Case Audit History event fields.
public void setFields(Collection<AuditEventField> fields)
A list of Case Audit History event fields.
fields
- A list of Case Audit History event fields.public AuditEvent withFields(AuditEventField... fields)
A list of Case Audit History event fields.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- A list of Case Audit History event fields.public AuditEvent withFields(Collection<AuditEventField> fields)
A list of Case Audit History event fields.
fields
- A list of Case Audit History event fields.public void setPerformedBy(AuditEventPerformedBy performedBy)
Information of the user which performed the audit.
performedBy
- Information of the user which performed the audit.public AuditEventPerformedBy getPerformedBy()
Information of the user which performed the audit.
public AuditEvent withPerformedBy(AuditEventPerformedBy performedBy)
Information of the user which performed the audit.
performedBy
- Information of the user which performed the audit.public void setPerformedTime(Date performedTime)
Time at which an Audit History event took place.
performedTime
- Time at which an Audit History event took place.public Date getPerformedTime()
Time at which an Audit History event took place.
public AuditEvent withPerformedTime(Date performedTime)
Time at which an Audit History event took place.
performedTime
- Time at which an Audit History event took place.public void setRelatedItemType(String relatedItemType)
The Type of the related item.
relatedItemType
- The Type of the related item.RelatedItemType
public String getRelatedItemType()
The Type of the related item.
RelatedItemType
public AuditEvent withRelatedItemType(String relatedItemType)
The Type of the related item.
relatedItemType
- The Type of the related item.RelatedItemType
public AuditEvent withRelatedItemType(RelatedItemType relatedItemType)
The Type of the related item.
relatedItemType
- The Type of the related item.RelatedItemType
public void setType(String type)
The Type of an audit history event.
type
- The Type of an audit history event.AuditEventType
public String getType()
The Type of an audit history event.
AuditEventType
public AuditEvent withType(String type)
The Type of an audit history event.
type
- The Type of an audit history event.AuditEventType
public AuditEvent withType(AuditEventType type)
The Type of an audit history event.
type
- The Type of an audit history event.AuditEventType
public String toString()
toString
in class Object
Object.toString()
public AuditEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.