@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnprocessedTraceSegment extends Object implements Serializable, Cloneable, StructuredPojo
Information about a segment that failed processing.
Constructor and Description |
---|
UnprocessedTraceSegment() |
Modifier and Type | Method and Description |
---|---|
UnprocessedTraceSegment |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error that caused processing to fail.
|
String |
getId()
The segment's ID.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error that caused processing to fail.
|
void |
setId(String id)
The segment's ID.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
UnprocessedTraceSegment |
withErrorCode(String errorCode)
The error that caused processing to fail.
|
UnprocessedTraceSegment |
withId(String id)
The segment's ID.
|
UnprocessedTraceSegment |
withMessage(String message)
The error message.
|
public void setId(String id)
The segment's ID.
id
- The segment's ID.public String getId()
The segment's ID.
public UnprocessedTraceSegment withId(String id)
The segment's ID.
id
- The segment's ID.public void setErrorCode(String errorCode)
The error that caused processing to fail.
errorCode
- The error that caused processing to fail.public String getErrorCode()
The error that caused processing to fail.
public UnprocessedTraceSegment withErrorCode(String errorCode)
The error that caused processing to fail.
errorCode
- The error that caused processing to fail.public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public UnprocessedTraceSegment withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public UnprocessedTraceSegment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.