@Generated(value="software.amazon.awssdk:codegen") public final class JobError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobError.Builder,JobError>
Contains the details about the policy generation error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobError.Builder |
builder() |
JobErrorCode |
code()
The job error code.
|
String |
codeAsString()
The job error code.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
Specific information about the error.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobError.Builder> |
serializableBuilderClass() |
JobError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final JobErrorCode code()
The job error code.
If the service returns an enum value that is not available in the current SDK version, code will return
JobErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
JobErrorCodepublic final String codeAsString()
The job error code.
If the service returns an enum value that is not available in the current SDK version, code will return
JobErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
JobErrorCodepublic final String message()
Specific information about the error. For example, which service quota was exceeded or which resource was not found.
public JobError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobError.Builder,JobError>public static JobError.Builder builder()
public static Class<? extends JobError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.