Class NotifyWorkersFailureStatus
- java.lang.Object
-
- software.amazon.awssdk.services.mturk.model.NotifyWorkersFailureStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotifyWorkersFailureStatus.Builder,NotifyWorkersFailureStatus>
@Generated("software.amazon.awssdk:codegen") public final class NotifyWorkersFailureStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotifyWorkersFailureStatus.Builder,NotifyWorkersFailureStatus>
When MTurk encounters an issue with notifying the Workers you specified, it returns back this object with failure details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotifyWorkersFailureStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotifyWorkersFailureStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotifyWorkersFailureCodenotifyWorkersFailureCode()Encoded value for the failure type.StringnotifyWorkersFailureCodeAsString()Encoded value for the failure type.StringnotifyWorkersFailureMessage()A message detailing the reason the Worker could not be notified.List<SdkField<?>>sdkFields()static Class<? extends NotifyWorkersFailureStatus.Builder>serializableBuilderClass()NotifyWorkersFailureStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkerId()The ID of the Worker.-
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
-
notifyWorkersFailureCode
public final NotifyWorkersFailureCode notifyWorkersFailureCode()
Encoded value for the failure type.
If the service returns an enum value that is not available in the current SDK version,
notifyWorkersFailureCodewill returnNotifyWorkersFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnotifyWorkersFailureCodeAsString().- Returns:
- Encoded value for the failure type.
- See Also:
NotifyWorkersFailureCode
-
notifyWorkersFailureCodeAsString
public final String notifyWorkersFailureCodeAsString()
Encoded value for the failure type.
If the service returns an enum value that is not available in the current SDK version,
notifyWorkersFailureCodewill returnNotifyWorkersFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnotifyWorkersFailureCodeAsString().- Returns:
- Encoded value for the failure type.
- See Also:
NotifyWorkersFailureCode
-
notifyWorkersFailureMessage
public final String notifyWorkersFailureMessage()
A message detailing the reason the Worker could not be notified.
- Returns:
- A message detailing the reason the Worker could not be notified.
-
workerId
public final String workerId()
The ID of the Worker.
- Returns:
- The ID of the Worker.
-
toBuilder
public NotifyWorkersFailureStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotifyWorkersFailureStatus.Builder,NotifyWorkersFailureStatus>
-
builder
public static NotifyWorkersFailureStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotifyWorkersFailureStatus.Builder> serializableBuilderClass()
-
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.
-
-