@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutProjectEventsResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.
Constructor and Description |
---|
PutProjectEventsResultEntry() |
Modifier and Type | Method and Description |
---|---|
PutProjectEventsResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
If the
PutProjectEvents operation has an error, the error code is returned here. |
String |
getErrorMessage()
If the
PutProjectEvents operation has an error, the error message is returned here. |
String |
getEventId()
A unique ID assigned to this
PutProjectEvents operation. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
If the
PutProjectEvents operation has an error, the error code is returned here. |
void |
setErrorMessage(String errorMessage)
If the
PutProjectEvents operation has an error, the error message is returned here. |
void |
setEventId(String eventId)
A unique ID assigned to this
PutProjectEvents operation. |
String |
toString()
Returns a string representation of this object.
|
PutProjectEventsResultEntry |
withErrorCode(String errorCode)
If the
PutProjectEvents operation has an error, the error code is returned here. |
PutProjectEventsResultEntry |
withErrorMessage(String errorMessage)
If the
PutProjectEvents operation has an error, the error message is returned here. |
PutProjectEventsResultEntry |
withEventId(String eventId)
A unique ID assigned to this
PutProjectEvents operation. |
public void setErrorCode(String errorCode)
If the PutProjectEvents
operation has an error, the error code is returned here.
errorCode
- If the PutProjectEvents
operation has an error, the error code is returned here.public String getErrorCode()
If the PutProjectEvents
operation has an error, the error code is returned here.
PutProjectEvents
operation has an error, the error code is returned here.public PutProjectEventsResultEntry withErrorCode(String errorCode)
If the PutProjectEvents
operation has an error, the error code is returned here.
errorCode
- If the PutProjectEvents
operation has an error, the error code is returned here.public void setErrorMessage(String errorMessage)
If the PutProjectEvents
operation has an error, the error message is returned here.
errorMessage
- If the PutProjectEvents
operation has an error, the error message is returned here.public String getErrorMessage()
If the PutProjectEvents
operation has an error, the error message is returned here.
PutProjectEvents
operation has an error, the error message is returned here.public PutProjectEventsResultEntry withErrorMessage(String errorMessage)
If the PutProjectEvents
operation has an error, the error message is returned here.
errorMessage
- If the PutProjectEvents
operation has an error, the error message is returned here.public void setEventId(String eventId)
A unique ID assigned to this PutProjectEvents
operation.
eventId
- A unique ID assigned to this PutProjectEvents
operation.public String getEventId()
A unique ID assigned to this PutProjectEvents
operation.
PutProjectEvents
operation.public PutProjectEventsResultEntry withEventId(String eventId)
A unique ID assigned to this PutProjectEvents
operation.
eventId
- A unique ID assigned to this PutProjectEvents
operation.public String toString()
toString
in class Object
Object.toString()
public PutProjectEventsResultEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.