@Generated(value="software.amazon.awssdk:codegen") public final class AssessmentRunNotification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssessmentRunNotification.Builder,AssessmentRunNotification>
Used as one of the elements of the AssessmentRun data type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssessmentRunNotification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssessmentRunNotification.Builder |
builder() |
Instant |
date()
The date of the notification.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
error()
The Boolean value that specifies whether the notification represents an error.
|
InspectorEvent |
event()
The event for which a notification is sent.
|
String |
eventAsString()
The event for which a notification is sent.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message included in the notification.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssessmentRunNotification.Builder> |
serializableBuilderClass() |
AssessmentRunNotificationSnsStatusCode |
snsPublishStatusCode()
The status code of the SNS notification.
|
String |
snsPublishStatusCodeAsString()
The status code of the SNS notification.
|
String |
snsTopicArn()
The SNS topic to which the SNS notification is sent.
|
AssessmentRunNotification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant date()
The date of the notification.
public final InspectorEvent event()
The event for which a notification is sent.
If the service returns an enum value that is not available in the current SDK version, event will return
InspectorEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
InspectorEventpublic final String eventAsString()
The event for which a notification is sent.
If the service returns an enum value that is not available in the current SDK version, event will return
InspectorEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
InspectorEventpublic final String message()
The message included in the notification.
public final Boolean error()
The Boolean value that specifies whether the notification represents an error.
public final String snsTopicArn()
The SNS topic to which the SNS notification is sent.
public final AssessmentRunNotificationSnsStatusCode snsPublishStatusCode()
The status code of the SNS notification.
If the service returns an enum value that is not available in the current SDK version,
snsPublishStatusCode will return AssessmentRunNotificationSnsStatusCode.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from snsPublishStatusCodeAsString().
AssessmentRunNotificationSnsStatusCodepublic final String snsPublishStatusCodeAsString()
The status code of the SNS notification.
If the service returns an enum value that is not available in the current SDK version,
snsPublishStatusCode will return AssessmentRunNotificationSnsStatusCode.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from snsPublishStatusCodeAsString().
AssessmentRunNotificationSnsStatusCodepublic AssessmentRunNotification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssessmentRunNotification.Builder,AssessmentRunNotification>public static AssessmentRunNotification.Builder builder()
public static Class<? extends AssessmentRunNotification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.