@InterfaceAudience.Public @InterfaceStability.Evolving public class TimelinePutResponse extends Object
TimelineEntity objects is added to the timeline. If there are errors
in storing individual entity objects, they will be indicated in the list of
errors.| Modifier and Type | Class and Description |
|---|---|
static class |
TimelinePutResponse.TimelinePutError
A class that holds the error code for one entity.
|
| Constructor and Description |
|---|
TimelinePutResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(TimelinePutResponse.TimelinePutError error)
Add a single
TimelinePutResponse.TimelinePutError instance into the existing list |
void |
addErrors(List<TimelinePutResponse.TimelinePutError> errors)
Add a list of
TimelinePutResponse.TimelinePutError instances into the existing list |
List<TimelinePutResponse.TimelinePutError> |
getErrors()
Get a list of
TimelinePutResponse.TimelinePutError instances |
void |
setErrors(List<TimelinePutResponse.TimelinePutError> errors)
Set the list to the given list of
TimelinePutResponse.TimelinePutError instances |
public List<TimelinePutResponse.TimelinePutError> getErrors()
TimelinePutResponse.TimelinePutError instancesTimelinePutResponse.TimelinePutError instancespublic void addError(TimelinePutResponse.TimelinePutError error)
TimelinePutResponse.TimelinePutError instance into the existing listerror - a single TimelinePutResponse.TimelinePutError instancepublic void addErrors(List<TimelinePutResponse.TimelinePutError> errors)
TimelinePutResponse.TimelinePutError instances into the existing listerrors - a list of TimelinePutResponse.TimelinePutError instancespublic void setErrors(List<TimelinePutResponse.TimelinePutError> errors)
TimelinePutResponse.TimelinePutError instanceserrors - a list of TimelinePutResponse.TimelinePutError instancesCopyright © 2024 Apache Software Foundation. All rights reserved.