Interface AssessmentRunNotification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentRunNotification.Builder,AssessmentRunNotification>,SdkBuilder<AssessmentRunNotification.Builder,AssessmentRunNotification>,SdkPojo
- Enclosing class:
- AssessmentRunNotification
public static interface AssessmentRunNotification.Builder extends SdkPojo, CopyableBuilder<AssessmentRunNotification.Builder,AssessmentRunNotification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssessmentRunNotification.Builderdate(Instant date)The date of the notification.AssessmentRunNotification.Buildererror(Boolean error)The Boolean value that specifies whether the notification represents an error.AssessmentRunNotification.Builderevent(String event)The event for which a notification is sent.AssessmentRunNotification.Builderevent(InspectorEvent event)The event for which a notification is sent.AssessmentRunNotification.Buildermessage(String message)The message included in the notification.AssessmentRunNotification.BuildersnsPublishStatusCode(String snsPublishStatusCode)The status code of the SNS notification.AssessmentRunNotification.BuildersnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode)The status code of the SNS notification.AssessmentRunNotification.BuildersnsTopicArn(String snsTopicArn)The SNS topic to which the SNS notification is sent.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
date
AssessmentRunNotification.Builder date(Instant date)
The date of the notification.
- Parameters:
date- The date of the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
AssessmentRunNotification.Builder event(String event)
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:
InspectorEvent,InspectorEvent
-
event
AssessmentRunNotification.Builder event(InspectorEvent event)
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:
InspectorEvent,InspectorEvent
-
message
AssessmentRunNotification.Builder message(String message)
The message included in the notification.
- Parameters:
message- The message included in the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
AssessmentRunNotification.Builder error(Boolean error)
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.
-
snsTopicArn
AssessmentRunNotification.Builder snsTopicArn(String snsTopicArn)
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.
-
snsPublishStatusCode
AssessmentRunNotification.Builder snsPublishStatusCode(String 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:
AssessmentRunNotificationSnsStatusCode,AssessmentRunNotificationSnsStatusCode
-
snsPublishStatusCode
AssessmentRunNotification.Builder snsPublishStatusCode(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:
AssessmentRunNotificationSnsStatusCode,AssessmentRunNotificationSnsStatusCode
-
-