Class ProtectedJobError
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProtectedJobError.Builder,ProtectedJobError>
Details of the error that caused the protected job to fail.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtectedJobError.Builderbuilder()final Stringcode()A code that identifies the category of the failure.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()A description of why the protected job failed.final RetryInforetry()Contains information about whether running the same protected job again might succeed.static Class<? extends ProtectedJobError.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
message
A description of why the protected job failed.
- Returns:
- A description of why the protected job failed.
-
code
A code that identifies the category of the failure. Valid values are:
-
MALFORMED_SCRIPT– The job script or its execution environment is not valid (code, imports, entry point, virtual environment, or dependencies). -
RESOURCE_NOT_FOUND– A referenced resource doesn't exist. -
INVALID_RESOURCE– A referenced resource exists, but you can't use it because its configuration, state, or data is not valid. -
RESOURCE_ACCESS_DENIED– A required permission is missing for a data source or resource. -
INSUFFICIENT_COMPUTE– The job exceeded the available compute (memory, disk, or time). -
TRANSIENT_ERROR– A temporary condition caused the failure, such as throttling or a network interruption. -
INTERNAL_ERROR– Clean Rooms encountered an unexpected error. If the error persists, contact AWS Support. -
UNKNOWN_ERROR– The failure couldn't be classified.
For more information about error codes, see https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html in the Clean Rooms User Guide.
- Returns:
- A code that identifies the category of the failure. Valid values are:
-
MALFORMED_SCRIPT– The job script or its execution environment is not valid (code, imports, entry point, virtual environment, or dependencies). -
RESOURCE_NOT_FOUND– A referenced resource doesn't exist. -
INVALID_RESOURCE– A referenced resource exists, but you can't use it because its configuration, state, or data is not valid. -
RESOURCE_ACCESS_DENIED– A required permission is missing for a data source or resource. -
INSUFFICIENT_COMPUTE– The job exceeded the available compute (memory, disk, or time). -
TRANSIENT_ERROR– A temporary condition caused the failure, such as throttling or a network interruption. -
INTERNAL_ERROR– Clean Rooms encountered an unexpected error. If the error persists, contact AWS Support. -
UNKNOWN_ERROR– The failure couldn't be classified.
For more information about error codes, see https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html in the Clean Rooms User Guide.
-
-
-
retry
Contains information about whether running the same protected job again might succeed.
- Returns:
- Contains information about whether running the same protected job again might succeed.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ProtectedJobError.Builder,ProtectedJobError> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-