@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobAttachmentDetailsError extends Object implements Serializable, Cloneable, StructuredPojo
The error details for job attachments.
Constructor and Description |
---|
JobAttachmentDetailsError() |
Modifier and Type | Method and Description |
---|---|
JobAttachmentDetailsError |
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.
|
JobAttachmentDetailsError |
withCode(JobEntityErrorCode code)
The error code.
|
JobAttachmentDetailsError |
withCode(String code)
The error code.
|
JobAttachmentDetailsError |
withJobId(String jobId)
The job ID.
|
JobAttachmentDetailsError |
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 JobAttachmentDetailsError withCode(String code)
The error code.
code
- The error code.JobEntityErrorCode
public JobAttachmentDetailsError 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 JobAttachmentDetailsError 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 JobAttachmentDetailsError 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 JobAttachmentDetailsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.