@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStopJobRunError extends Object implements Serializable, Cloneable, StructuredPojo
Records an error that occurred when attempting to stop a specified job run.
Constructor and Description |
---|
BatchStopJobRunError() |
Modifier and Type | Method and Description |
---|---|
BatchStopJobRunError |
clone() |
boolean |
equals(Object obj) |
ErrorDetail |
getErrorDetail()
Specifies details about the error that was encountered.
|
String |
getJobName()
The name of the job definition that is used in the job run in question.
|
String |
getJobRunId()
The
JobRunId of the job run in question. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorDetail(ErrorDetail errorDetail)
Specifies details about the error that was encountered.
|
void |
setJobName(String jobName)
The name of the job definition that is used in the job run in question.
|
void |
setJobRunId(String jobRunId)
The
JobRunId of the job run in question. |
String |
toString()
Returns a string representation of this object.
|
BatchStopJobRunError |
withErrorDetail(ErrorDetail errorDetail)
Specifies details about the error that was encountered.
|
BatchStopJobRunError |
withJobName(String jobName)
The name of the job definition that is used in the job run in question.
|
BatchStopJobRunError |
withJobRunId(String jobRunId)
The
JobRunId of the job run in question. |
public void setJobName(String jobName)
The name of the job definition that is used in the job run in question.
jobName
- The name of the job definition that is used in the job run in question.public String getJobName()
The name of the job definition that is used in the job run in question.
public BatchStopJobRunError withJobName(String jobName)
The name of the job definition that is used in the job run in question.
jobName
- The name of the job definition that is used in the job run in question.public void setJobRunId(String jobRunId)
The JobRunId
of the job run in question.
jobRunId
- The JobRunId
of the job run in question.public String getJobRunId()
The JobRunId
of the job run in question.
JobRunId
of the job run in question.public BatchStopJobRunError withJobRunId(String jobRunId)
The JobRunId
of the job run in question.
jobRunId
- The JobRunId
of the job run in question.public void setErrorDetail(ErrorDetail errorDetail)
Specifies details about the error that was encountered.
errorDetail
- Specifies details about the error that was encountered.public ErrorDetail getErrorDetail()
Specifies details about the error that was encountered.
public BatchStopJobRunError withErrorDetail(ErrorDetail errorDetail)
Specifies details about the error that was encountered.
errorDetail
- Specifies details about the error that was encountered.public String toString()
toString
in class Object
Object.toString()
public BatchStopJobRunError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.