@Generated(value="software.amazon.awssdk:codegen") public final class JobError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobError.Builder,JobError>
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobError.Builder |
builder() |
Code |
code()
The code for the job error.
|
String |
codeAsString()
The code for the job error.
|
Details |
details()
The details about the job error.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
JobErrorLimitName |
limitName()
The name of the limit that was reached.
|
String |
limitNameAsString()
The name of the limit that was reached.
|
Double |
limitValue()
The value of the exceeded limit.
|
String |
message()
The message related to the job error.
|
String |
resourceId()
The unique identifier for the resource related to the error.
|
JobErrorResourceTypes |
resourceType()
The type of resource related to the error.
|
String |
resourceTypeAsString()
The type of resource related to 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 Code code()
If the service returns an enum value that is not available in the current SDK version, code will return
Code.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
Codepublic final String codeAsString()
If the service returns an enum value that is not available in the current SDK version, code will return
Code.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
Codepublic final Details details()
The details about the job error.
public final JobErrorLimitName limitName()
The name of the limit that was reached.
If the service returns an enum value that is not available in the current SDK version, limitName will
return JobErrorLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
limitNameAsString().
JobErrorLimitNamepublic final String limitNameAsString()
The name of the limit that was reached.
If the service returns an enum value that is not available in the current SDK version, limitName will
return JobErrorLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
limitNameAsString().
JobErrorLimitNamepublic final Double limitValue()
public final String message()
public final String resourceId()
public final JobErrorResourceTypes resourceType()
If the service returns an enum value that is not available in the current SDK version, resourceType will
return JobErrorResourceTypes.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceTypeAsString().
JobErrorResourceTypespublic final String resourceTypeAsString()
If the service returns an enum value that is not available in the current SDK version, resourceType will
return JobErrorResourceTypes.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceTypeAsString().
JobErrorResourceTypespublic 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 © 2021. All rights reserved.