@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()
|
String |
getType()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
|
void |
setType(String type)
|
String |
toString()
Returns a string representation of this object.
|
EarthObservationJobErrorDetails |
withMessage(String message)
|
EarthObservationJobErrorDetails |
withType(EarthObservationJobErrorType type)
|
EarthObservationJobErrorDetails |
withType(String type)
|
public void setMessage(String message)
message
- public String getMessage()
public EarthObservationJobErrorDetails withMessage(String message)
message
- public void setType(String type)
type
- EarthObservationJobErrorType
public String getType()
EarthObservationJobErrorType
public EarthObservationJobErrorDetails withType(String type)
type
- EarthObservationJobErrorType
public EarthObservationJobErrorDetails withType(EarthObservationJobErrorType type)
type
- 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.