@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobError extends Object implements Serializable, Cloneable, StructuredPojo
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() |
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 unqiue 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) |
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 unqiue 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) |
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 unqiue 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)
code
- The code for the job error.Code
public String getCode()
Code
public JobError withCode(String code)
code
- The code for the job error.Code
public JobError withCode(Code code)
code
- The code for the job error.Code
public void setDetails(Details details)
details
- public Details getDetails()
public JobError withDetails(Details details)
details
- 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)
limitValue
- The value of the exceeded limit.public Double getLimitValue()
public JobError withLimitValue(Double limitValue)
limitValue
- The value of the exceeded limit.public void setMessage(String message)
message
- The message related to the job error.public String getMessage()
public JobError withMessage(String message)
message
- The message related to the job error.public void setResourceId(String resourceId)
resourceId
- The unqiue identifier for the resource related to the error.public String getResourceId()
public JobError withResourceId(String resourceId)
resourceId
- The unqiue identifier for the resource related to the error.public void setResourceType(String resourceType)
resourceType
- The type of resource related to the error.JobErrorResourceTypes
public String getResourceType()
JobErrorResourceTypes
public JobError withResourceType(String resourceType)
resourceType
- The type of resource related to the error.JobErrorResourceTypes
public JobError withResourceType(JobErrorResourceTypes resourceType)
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.