@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EarthObservationJobErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
The structure representing the errors in an EarthObservationJob.
Constructor and Description |
---|
EarthObservationJobErrorDetails() |
Modifier and Type | Method and Description |
---|---|
EarthObservationJobErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A detailed message describing the error in an Earth Observation job.
|
String |
getType()
The type of error in an Earth Observation job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A detailed message describing the error in an Earth Observation job.
|
void |
setType(String type)
The type of error in an Earth Observation job.
|
String |
toString()
Returns a string representation of this object.
|
EarthObservationJobErrorDetails |
withMessage(String message)
A detailed message describing the error in an Earth Observation job.
|
EarthObservationJobErrorDetails |
withType(EarthObservationJobErrorType type)
The type of error in an Earth Observation job.
|
EarthObservationJobErrorDetails |
withType(String type)
The type of error in an Earth Observation job.
|
public void setMessage(String message)
A detailed message describing the error in an Earth Observation job.
message
- A detailed message describing the error in an Earth Observation job.public String getMessage()
A detailed message describing the error in an Earth Observation job.
public EarthObservationJobErrorDetails withMessage(String message)
A detailed message describing the error in an Earth Observation job.
message
- A detailed message describing the error in an Earth Observation job.public void setType(String type)
The type of error in an Earth Observation job.
type
- The type of error in an Earth Observation job.EarthObservationJobErrorType
public String getType()
The type of error in an Earth Observation job.
EarthObservationJobErrorType
public EarthObservationJobErrorDetails withType(String type)
The type of error in an Earth Observation job.
type
- The type of error in an Earth Observation job.EarthObservationJobErrorType
public EarthObservationJobErrorDetails withType(EarthObservationJobErrorType type)
The type of error in an Earth Observation job.
type
- The type of error in an Earth Observation job.EarthObservationJobErrorType
public String toString()
toString
in class Object
Object.toString()
public EarthObservationJobErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.