@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobError extends Object implements Serializable, Cloneable, StructuredPojo
An error that occurred with the job request.
Constructor and Description |
---|
JobError() |
Modifier and Type | Method and Description |
---|---|
JobError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The code for the job error.
|
Details |
getDetails()
The details about the job error.
|
String |
getLimitName()
The name of the limit that was reached.
|
Double |
getLimitValue()
The value of the exceeded limit.
|
String |
getMessage()
The message related to the job error.
|
String |
getResourceId()
The unique identifier for the resource related to the error.
|
String |
getResourceType()
The type of resource related to the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The code for the job error.
|
void |
setDetails(Details details)
The details about the job error.
|
void |
setLimitName(String limitName)
The name of the limit that was reached.
|
void |
setLimitValue(Double limitValue)
The value of the exceeded limit.
|
void |
setMessage(String message)
The message related to the job error.
|
void |
setResourceId(String resourceId)
The unique identifier for the resource related to the error.
|
void |
setResourceType(String resourceType)
The type of resource related to the error.
|
String |
toString()
Returns a string representation of this object.
|
JobError |
withCode(Code code)
The code for the job error.
|
JobError |
withCode(String code)
The code for the job error.
|
JobError |
withDetails(Details details)
The details about the job error.
|
JobError |
withLimitName(JobErrorLimitName limitName)
The name of the limit that was reached.
|
JobError |
withLimitName(String limitName)
The name of the limit that was reached.
|
JobError |
withLimitValue(Double limitValue)
The value of the exceeded limit.
|
JobError |
withMessage(String message)
The message related to the job error.
|
JobError |
withResourceId(String resourceId)
The unique identifier for the resource related to the error.
|
JobError |
withResourceType(JobErrorResourceTypes resourceType)
The type of resource related to the error.
|
JobError |
withResourceType(String resourceType)
The type of resource related to the error.
|
public void setCode(String code)
The code for the job error.
code
- The code for the job error.Code
public String getCode()
The code for the job error.
Code
public JobError withCode(String code)
The code for the job error.
code
- The code for the job error.Code
public JobError withCode(Code code)
The code for the job error.
code
- The code for the job error.Code
public void setDetails(Details details)
The details about the job error.
details
- The details about the job error.public Details getDetails()
The details about the job error.
public JobError withDetails(Details details)
The details about the job error.
details
- The details about the job error.public void setLimitName(String limitName)
The name of the limit that was reached.
limitName
- The name of the limit that was reached.JobErrorLimitName
public String getLimitName()
The name of the limit that was reached.
JobErrorLimitName
public JobError withLimitName(String limitName)
The name of the limit that was reached.
limitName
- The name of the limit that was reached.JobErrorLimitName
public JobError withLimitName(JobErrorLimitName limitName)
The name of the limit that was reached.
limitName
- The name of the limit that was reached.JobErrorLimitName
public void setLimitValue(Double limitValue)
The value of the exceeded limit.
limitValue
- The value of the exceeded limit.public Double getLimitValue()
The value of the exceeded limit.
public JobError withLimitValue(Double limitValue)
The value of the exceeded limit.
limitValue
- The value of the exceeded limit.public void setMessage(String message)
The message related to the job error.
message
- The message related to the job error.public String getMessage()
The message related to the job error.
public JobError withMessage(String message)
The message related to the job error.
message
- The message related to the job error.public void setResourceId(String resourceId)
The unique identifier for the resource related to the error.
resourceId
- The unique identifier for the resource related to the error.public String getResourceId()
The unique identifier for the resource related to the error.
public JobError withResourceId(String resourceId)
The unique identifier for the resource related to the error.
resourceId
- The unique identifier for the resource related to the error.public void setResourceType(String resourceType)
The type of resource related to the error.
resourceType
- The type of resource related to the error.JobErrorResourceTypes
public String getResourceType()
The type of resource related to the error.
JobErrorResourceTypes
public JobError withResourceType(String resourceType)
The type of resource related to the error.
resourceType
- The type of resource related to the error.JobErrorResourceTypes
public JobError withResourceType(JobErrorResourceTypes resourceType)
The type of resource related to the error.
resourceType
- The type of resource related to the error.JobErrorResourceTypes
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.