Class JobError
- java.lang.Object
-
- software.amazon.awssdk.services.dataexchange.model.JobError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobError.Builder,JobError>
@Generated("software.amazon.awssdk:codegen") public final class JobError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobError.Builder,JobError>
An error that occurred with the job request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobError.Builderbuilder()Codecode()The code for the job error.StringcodeAsString()The code for the job error.Detailsdetails()The details about the job error.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()JobErrorLimitNamelimitName()The name of the limit that was reached.StringlimitNameAsString()The name of the limit that was reached.DoublelimitValue()The value of the exceeded limit.Stringmessage()The message related to the job error.StringresourceId()The unique identifier for the resource related to the error.JobErrorResourceTypesresourceType()The type of resource related to the error.StringresourceTypeAsString()The type of resource related to the error.List<SdkField<?>>sdkFields()static Class<? extends JobError.Builder>serializableBuilderClass()JobError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
code
public final Code code()
The code for the job error.
If the service returns an enum value that is not available in the current SDK version,
codewill returnCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The code for the job error.
- See Also:
Code
-
codeAsString
public final String codeAsString()
The code for the job error.
If the service returns an enum value that is not available in the current SDK version,
codewill returnCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The code for the job error.
- See Also:
Code
-
details
public final Details details()
The details about the job error.
- Returns:
- The details about the job error.
-
limitName
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,
limitNamewill returnJobErrorLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlimitNameAsString().- Returns:
- The name of the limit that was reached.
- See Also:
JobErrorLimitName
-
limitNameAsString
public 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,
limitNamewill returnJobErrorLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlimitNameAsString().- Returns:
- The name of the limit that was reached.
- See Also:
JobErrorLimitName
-
limitValue
public final Double limitValue()
The value of the exceeded limit.
- Returns:
- The value of the exceeded limit.
-
message
public final String message()
The message related to the job error.
- Returns:
- The message related to the job error.
-
resourceId
public final String resourceId()
The unique identifier for the resource related to the error.
- Returns:
- The unique identifier for the resource related to the error.
-
resourceType
public final JobErrorResourceTypes resourceType()
The type of resource related to the error.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnJobErrorResourceTypes.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of resource related to the error.
- See Also:
JobErrorResourceTypes
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of resource related to the error.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnJobErrorResourceTypes.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of resource related to the error.
- See Also:
JobErrorResourceTypes
-
toBuilder
public JobError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobError.Builder,JobError>
-
builder
public static JobError.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobError.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.
-
-