@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobDetailsError extends Object implements Serializable, Cloneable, StructuredPojo
The details of a job error.
Constructor and Description |
---|
JobDetailsError() |
Modifier and Type | Method and Description |
---|---|
JobDetailsError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getJobId()
The job ID.
|
String |
getMessage()
The error message detailing the error's cause.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The error code.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setMessage(String message)
The error message detailing the error's cause.
|
String |
toString()
Returns a string representation of this object.
|
JobDetailsError |
withCode(JobEntityErrorCode code)
The error code.
|
JobDetailsError |
withCode(String code)
The error code.
|
JobDetailsError |
withJobId(String jobId)
The job ID.
|
JobDetailsError |
withMessage(String message)
The error message detailing the error's cause.
|
public void setCode(String code)
The error code.
code
- The error code.JobEntityErrorCode
public String getCode()
The error code.
JobEntityErrorCode
public JobDetailsError withCode(String code)
The error code.
code
- The error code.JobEntityErrorCode
public JobDetailsError withCode(JobEntityErrorCode code)
The error code.
code
- The error code.JobEntityErrorCode
public void setJobId(String jobId)
The job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public JobDetailsError withJobId(String jobId)
The job ID.
jobId
- The job ID.public void setMessage(String message)
The error message detailing the error's cause.
message
- The error message detailing the error's cause.public String getMessage()
The error message detailing the error's cause.
public JobDetailsError withMessage(String message)
The error message detailing the error's cause.
message
- The error message detailing the error's cause.public String toString()
toString
in class Object
Object.toString()
public JobDetailsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.