Class UpdateNotificationSettingsRequest
- 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.UpdateNotificationSettingsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateNotificationSettingsRequest extends MTurkRequest implements ToCopyableBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateNotificationSettingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.static UpdateNotificationSettingsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhitTypeId()The ID of the HIT type whose notification specification is being updated.NotificationSpecificationnotification()The notification specification for the HIT type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateNotificationSettingsRequest.Builder>serializableBuilderClass()UpdateNotificationSettingsRequest.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
-
hitTypeId
public final String hitTypeId()
The ID of the HIT type whose notification specification is being updated.
- Returns:
- The ID of the HIT type whose notification specification is being updated.
-
notification
public final NotificationSpecification notification()
The notification specification for the HIT type.
- Returns:
- The notification specification for the HIT type.
-
active
public final Boolean active()
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
- Returns:
- Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
-
toBuilder
public UpdateNotificationSettingsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>- Specified by:
toBuilderin classMTurkRequest
-
builder
public static UpdateNotificationSettingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateNotificationSettingsRequest.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
-
-