public static interface AssessmentRunNotification.Builder extends CopyableBuilder<AssessmentRunNotification.Builder,AssessmentRunNotification>
Modifier and Type | Method and Description |
---|---|
AssessmentRunNotification.Builder |
date(Instant date)
The date of the notification.
|
AssessmentRunNotification.Builder |
error(Boolean error)
The Boolean value that specifies whether the notification represents an error.
|
AssessmentRunNotification.Builder |
event(InspectorEvent event)
The event for which a notification is sent.
|
AssessmentRunNotification.Builder |
event(String event)
The event for which a notification is sent.
|
AssessmentRunNotification.Builder |
message(String message)
The message included in the notification.
|
AssessmentRunNotification.Builder |
snsPublishStatusCode(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode)
The status code of the SNS notification.
|
AssessmentRunNotification.Builder |
snsPublishStatusCode(String snsPublishStatusCode)
The status code of the SNS notification.
|
AssessmentRunNotification.Builder |
snsTopicArn(String snsTopicArn)
The SNS topic to which the SNS notification is sent.
|
copy
apply, build
AssessmentRunNotification.Builder date(Instant date)
The date of the notification.
date
- The date of the notification.AssessmentRunNotification.Builder event(String event)
The event for which a notification is sent.
event
- The event for which a notification is sent.InspectorEvent
,
InspectorEvent
AssessmentRunNotification.Builder event(InspectorEvent event)
The event for which a notification is sent.
event
- The event for which a notification is sent.InspectorEvent
,
InspectorEvent
AssessmentRunNotification.Builder message(String message)
The message included in the notification.
message
- The message included in the notification.AssessmentRunNotification.Builder error(Boolean error)
The Boolean value that specifies whether the notification represents an error.
error
- The Boolean value that specifies whether the notification represents an error.AssessmentRunNotification.Builder snsTopicArn(String snsTopicArn)
The SNS topic to which the SNS notification is sent.
snsTopicArn
- The SNS topic to which the SNS notification is sent.AssessmentRunNotification.Builder snsPublishStatusCode(String snsPublishStatusCode)
The status code of the SNS notification.
snsPublishStatusCode
- The status code of the SNS notification.AssessmentRunNotificationSnsStatusCode
,
AssessmentRunNotificationSnsStatusCode
AssessmentRunNotification.Builder snsPublishStatusCode(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode)
The status code of the SNS notification.
snsPublishStatusCode
- The status code of the SNS notification.AssessmentRunNotificationSnsStatusCode
,
AssessmentRunNotificationSnsStatusCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.