@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangeLog extends Object implements Serializable, Cloneable, StructuredPojo
The record of a change within Audit Manager. For example, this could be the status change of an assessment or the delegation of a control set.
Constructor and Description |
---|
ChangeLog() |
Modifier and Type | Method and Description |
---|---|
ChangeLog |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that was performed.
|
Date |
getCreatedAt()
The time when the action was performed and the changelog record was created.
|
String |
getCreatedBy()
The user or role that performed the action.
|
String |
getObjectName()
The name of the object that changed.
|
String |
getObjectType()
The object that was changed, such as an assessment, control, or control set.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action that was performed.
|
void |
setCreatedAt(Date createdAt)
The time when the action was performed and the changelog record was created.
|
void |
setCreatedBy(String createdBy)
The user or role that performed the action.
|
void |
setObjectName(String objectName)
The name of the object that changed.
|
void |
setObjectType(String objectType)
The object that was changed, such as an assessment, control, or control set.
|
String |
toString()
Returns a string representation of this object.
|
ChangeLog |
withAction(ActionEnum action)
The action that was performed.
|
ChangeLog |
withAction(String action)
The action that was performed.
|
ChangeLog |
withCreatedAt(Date createdAt)
The time when the action was performed and the changelog record was created.
|
ChangeLog |
withCreatedBy(String createdBy)
The user or role that performed the action.
|
ChangeLog |
withObjectName(String objectName)
The name of the object that changed.
|
ChangeLog |
withObjectType(ObjectTypeEnum objectType)
The object that was changed, such as an assessment, control, or control set.
|
ChangeLog |
withObjectType(String objectType)
The object that was changed, such as an assessment, control, or control set.
|
public void setObjectType(String objectType)
The object that was changed, such as an assessment, control, or control set.
objectType
- The object that was changed, such as an assessment, control, or control set.ObjectTypeEnum
public String getObjectType()
The object that was changed, such as an assessment, control, or control set.
ObjectTypeEnum
public ChangeLog withObjectType(String objectType)
The object that was changed, such as an assessment, control, or control set.
objectType
- The object that was changed, such as an assessment, control, or control set.ObjectTypeEnum
public ChangeLog withObjectType(ObjectTypeEnum objectType)
The object that was changed, such as an assessment, control, or control set.
objectType
- The object that was changed, such as an assessment, control, or control set.ObjectTypeEnum
public void setObjectName(String objectName)
The name of the object that changed. This could be the name of an assessment, control, or control set.
objectName
- The name of the object that changed. This could be the name of an assessment, control, or control set.public String getObjectName()
The name of the object that changed. This could be the name of an assessment, control, or control set.
public ChangeLog withObjectName(String objectName)
The name of the object that changed. This could be the name of an assessment, control, or control set.
objectName
- The name of the object that changed. This could be the name of an assessment, control, or control set.public void setAction(String action)
The action that was performed.
action
- The action that was performed.ActionEnum
public String getAction()
The action that was performed.
ActionEnum
public ChangeLog withAction(String action)
The action that was performed.
action
- The action that was performed.ActionEnum
public ChangeLog withAction(ActionEnum action)
The action that was performed.
action
- The action that was performed.ActionEnum
public void setCreatedAt(Date createdAt)
The time when the action was performed and the changelog record was created.
createdAt
- The time when the action was performed and the changelog record was created.public Date getCreatedAt()
The time when the action was performed and the changelog record was created.
public ChangeLog withCreatedAt(Date createdAt)
The time when the action was performed and the changelog record was created.
createdAt
- The time when the action was performed and the changelog record was created.public void setCreatedBy(String createdBy)
The user or role that performed the action.
createdBy
- The user or role that performed the action.public String getCreatedBy()
The user or role that performed the action.
public ChangeLog withCreatedBy(String createdBy)
The user or role that performed the action.
createdBy
- The user or role that performed the action.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.