Class AssessmentRunNotification
- All Implemented Interfaces:
Serializable
,Cloneable
Used as one of the elements of the AssessmentRun data type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getDate()
The date of the notification.getError()
The Boolean value that specifies whether the notification represents an error.getEvent()
The event for which a notification is sent.The status code of the SNS notification.The SNS topic to which the SNS notification is sent.int
hashCode()
isError()
The Boolean value that specifies whether the notification represents an error.void
The date of the notification.void
The Boolean value that specifies whether the notification represents an error.void
setEvent
(InspectorEvent event) The event for which a notification is sent.void
The event for which a notification is sent.void
setMessage
(String message) void
setSnsPublishStatusCode
(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode) The status code of the SNS notification.void
setSnsPublishStatusCode
(String snsPublishStatusCode) The status code of the SNS notification.void
setSnsTopicArn
(String snsTopicArn) The SNS topic to which the SNS notification is sent.toString()
Returns a string representation of this object; useful for testing and debugging.The date of the notification.The Boolean value that specifies whether the notification represents an error.withEvent
(InspectorEvent event) The event for which a notification is sent.The event for which a notification is sent.withMessage
(String message) withSnsPublishStatusCode
(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode) The status code of the SNS notification.withSnsPublishStatusCode
(String snsPublishStatusCode) The status code of the SNS notification.withSnsTopicArn
(String snsTopicArn) The SNS topic to which the SNS notification is sent.
-
Constructor Details
-
AssessmentRunNotification
public AssessmentRunNotification()
-
-
Method Details
-
setDate
The date of the notification.
- Parameters:
dateValue
- The date of the notification.
-
getDate
The date of the notification.
- Returns:
- The date of the notification.
-
withDate
The date of the notification.
- Parameters:
dateValue
- The date of the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEvent
The event for which a notification is sent.
- Parameters:
event
- The event for which a notification is sent.- See Also:
-
getEvent
The event for which a notification is sent.
- Returns:
- The event for which a notification is sent.
- See Also:
-
withEvent
The event for which a notification is sent.
- Parameters:
event
- The event for which a notification is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setEvent
The event for which a notification is sent.
- Parameters:
event
- The event for which a notification is sent.- See Also:
-
withEvent
The event for which a notification is sent.
- Parameters:
event
- The event for which a notification is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMessage
- Parameters:
message
-
-
getMessage
- Returns:
-
withMessage
- Parameters:
message
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setError
The Boolean value that specifies whether the notification represents an error.
- Parameters:
error
- The Boolean value that specifies whether the notification represents an error.
-
getError
The Boolean value that specifies whether the notification represents an error.
- Returns:
- The Boolean value that specifies whether the notification represents an error.
-
withError
The Boolean value that specifies whether the notification represents an error.
- Parameters:
error
- The Boolean value that specifies whether the notification represents an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isError
The Boolean value that specifies whether the notification represents an error.
- Returns:
- The Boolean value that specifies whether the notification represents an error.
-
setSnsTopicArn
The SNS topic to which the SNS notification is sent.
- Parameters:
snsTopicArn
- The SNS topic to which the SNS notification is sent.
-
getSnsTopicArn
The SNS topic to which the SNS notification is sent.
- Returns:
- The SNS topic to which the SNS notification is sent.
-
withSnsTopicArn
The SNS topic to which the SNS notification is sent.
- Parameters:
snsTopicArn
- The SNS topic to which the SNS notification is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnsPublishStatusCode
The status code of the SNS notification.
- Parameters:
snsPublishStatusCode
- The status code of the SNS notification.- See Also:
-
getSnsPublishStatusCode
The status code of the SNS notification.
- Returns:
- The status code of the SNS notification.
- See Also:
-
withSnsPublishStatusCode
The status code of the SNS notification.
- Parameters:
snsPublishStatusCode
- The status code of the SNS notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSnsPublishStatusCode
The status code of the SNS notification.
- Parameters:
snsPublishStatusCode
- The status code of the SNS notification.- See Also:
-
withSnsPublishStatusCode
public AssessmentRunNotification withSnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode) The status code of the SNS notification.
- Parameters:
snsPublishStatusCode
- The status code of the SNS notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-