Class SendTestEventNotificationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mturk.model.MTurkRequest
-
- software.amazon.awssdk.services.mturk.model.SendTestEventNotificationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>
@Generated("software.amazon.awssdk:codegen") public final class SendTestEventNotificationRequest extends MTurkRequest implements ToCopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendTestEventNotificationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendTestEventNotificationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotificationSpecificationnotification()The notification specification to test.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SendTestEventNotificationRequest.Builder>serializableBuilderClass()EventTypetestEventType()The event to simulate to test the notification specification.StringtestEventTypeAsString()The event to simulate to test the notification specification.SendTestEventNotificationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
notification
public final NotificationSpecification notification()
The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.
- Returns:
- The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.
-
testEventType
public final EventType testEventType()
The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
If the service returns an enum value that is not available in the current SDK version,
testEventTypewill returnEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtestEventTypeAsString().- Returns:
- The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
- See Also:
EventType
-
testEventTypeAsString
public final String testEventTypeAsString()
The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
If the service returns an enum value that is not available in the current SDK version,
testEventTypewill returnEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtestEventTypeAsString().- Returns:
- The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
- See Also:
EventType
-
toBuilder
public SendTestEventNotificationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>- Specified by:
toBuilderin classMTurkRequest
-
builder
public static SendTestEventNotificationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendTestEventNotificationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-