@Generated(value="software.amazon.awssdk:codegen") public final class SubscribeToEventRequest extends InspectorRequest implements ToCopyableBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubscribeToEventRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SubscribeToEventRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
InspectorEvent |
event()
The event for which you want to receive SNS notifications.
|
String |
eventAsString()
The event for which you want to receive SNS notifications.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubscribeToEventRequest.Builder> |
serializableBuilderClass() |
SubscribeToEventRequest.Builder |
toBuilder() |
String |
topicArn()
The ARN of the SNS topic to which the SNS notifications are sent.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
public final InspectorEvent event()
The event for which you want to receive SNS notifications.
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 you want to receive SNS notifications.
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 topicArn()
The ARN of the SNS topic to which the SNS notifications are sent.
public SubscribeToEventRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>toBuilder in class InspectorRequestpublic static SubscribeToEventRequest.Builder builder()
public static Class<? extends SubscribeToEventRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.