@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobError extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details about the policy generation error.
| Constructor and Description |
|---|
JobError() |
| Modifier and Type | Method and Description |
|---|---|
JobError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The job error code.
|
String |
getMessage()
Specific information about the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The job error code.
|
void |
setMessage(String message)
Specific information about the error.
|
String |
toString()
Returns a string representation of this object.
|
JobError |
withCode(JobErrorCode code)
The job error code.
|
JobError |
withCode(String code)
The job error code.
|
JobError |
withMessage(String message)
Specific information about the error.
|
public void setCode(String code)
The job error code.
code - The job error code.JobErrorCodepublic String getCode()
The job error code.
JobErrorCodepublic JobError withCode(String code)
The job error code.
code - The job error code.JobErrorCodepublic JobError withCode(JobErrorCode code)
The job error code.
code - The job error code.JobErrorCodepublic void setMessage(String message)
Specific information about the error. For example, which service quota was exceeded or which resource was not found.
message - Specific information about the error. For example, which service quota was exceeded or which resource was
not found.public String getMessage()
Specific information about the error. For example, which service quota was exceeded or which resource was not found.
public JobError withMessage(String message)
Specific information about the error. For example, which service quota was exceeded or which resource was not found.
message - Specific information about the error. For example, which service quota was exceeded or which resource was
not found.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.