@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Notification extends Object implements Serializable, Cloneable, StructuredPojo
The notification that informs a user of an update in Audit Manager. For example, this includes the notification that's sent when a control set is delegated for review.
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
Notification |
clone() |
boolean |
equals(Object obj) |
String |
getAssessmentId()
The identifier for the assessment.
|
String |
getAssessmentName()
The name of the related assessment.
|
String |
getControlSetId()
The identifier for the control set.
|
String |
getControlSetName()
Specifies the name of the control set that the notification is about.
|
String |
getDescription()
The description of the notification.
|
Date |
getEventTime()
The time when the notification was sent.
|
String |
getId()
The unique identifier for the notification.
|
String |
getSource()
The sender of the notification.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssessmentId(String assessmentId)
The identifier for the assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the related assessment.
|
void |
setControlSetId(String controlSetId)
The identifier for the control set.
|
void |
setControlSetName(String controlSetName)
Specifies the name of the control set that the notification is about.
|
void |
setDescription(String description)
The description of the notification.
|
void |
setEventTime(Date eventTime)
The time when the notification was sent.
|
void |
setId(String id)
The unique identifier for the notification.
|
void |
setSource(String source)
The sender of the notification.
|
String |
toString()
Returns a string representation of this object.
|
Notification |
withAssessmentId(String assessmentId)
The identifier for the assessment.
|
Notification |
withAssessmentName(String assessmentName)
The name of the related assessment.
|
Notification |
withControlSetId(String controlSetId)
The identifier for the control set.
|
Notification |
withControlSetName(String controlSetName)
Specifies the name of the control set that the notification is about.
|
Notification |
withDescription(String description)
The description of the notification.
|
Notification |
withEventTime(Date eventTime)
The time when the notification was sent.
|
Notification |
withId(String id)
The unique identifier for the notification.
|
Notification |
withSource(String source)
The sender of the notification.
|
public void setId(String id)
The unique identifier for the notification.
id
- The unique identifier for the notification.public String getId()
The unique identifier for the notification.
public Notification withId(String id)
The unique identifier for the notification.
id
- The unique identifier for the notification.public void setAssessmentId(String assessmentId)
The identifier for the assessment.
assessmentId
- The identifier for the assessment.public String getAssessmentId()
The identifier for the assessment.
public Notification withAssessmentId(String assessmentId)
The identifier for the assessment.
assessmentId
- The identifier for the assessment.public void setAssessmentName(String assessmentName)
The name of the related assessment.
assessmentName
- The name of the related assessment.public String getAssessmentName()
The name of the related assessment.
public Notification withAssessmentName(String assessmentName)
The name of the related assessment.
assessmentName
- The name of the related assessment.public void setControlSetId(String controlSetId)
The identifier for the control set.
controlSetId
- The identifier for the control set.public String getControlSetId()
The identifier for the control set.
public Notification withControlSetId(String controlSetId)
The identifier for the control set.
controlSetId
- The identifier for the control set.public void setControlSetName(String controlSetName)
Specifies the name of the control set that the notification is about.
controlSetName
- Specifies the name of the control set that the notification is about.public String getControlSetName()
Specifies the name of the control set that the notification is about.
public Notification withControlSetName(String controlSetName)
Specifies the name of the control set that the notification is about.
controlSetName
- Specifies the name of the control set that the notification is about.public void setDescription(String description)
The description of the notification.
description
- The description of the notification.public String getDescription()
The description of the notification.
public Notification withDescription(String description)
The description of the notification.
description
- The description of the notification.public void setEventTime(Date eventTime)
The time when the notification was sent.
eventTime
- The time when the notification was sent.public Date getEventTime()
The time when the notification was sent.
public Notification withEventTime(Date eventTime)
The time when the notification was sent.
eventTime
- The time when the notification was sent.public void setSource(String source)
The sender of the notification.
source
- The sender of the notification.public String getSource()
The sender of the notification.
public Notification withSource(String source)
The sender of the notification.
source
- The sender of the notification.public String toString()
toString
in class Object
Object.toString()
public Notification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.