@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectedRecord extends Object implements Serializable, Cloneable, StructuredPojo
Records that were not successfully inserted into Timestream due to data validation issues that must be resolved prior to reinserting time series data into the system.
Constructor and Description |
---|
RejectedRecord() |
Modifier and Type | Method and Description |
---|---|
RejectedRecord |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason why a record was not successfully inserted into Timestream.
|
Integer |
getRecordIndex()
The index of the record in the input request for WriteRecords.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
The reason why a record was not successfully inserted into Timestream.
|
void |
setRecordIndex(Integer recordIndex)
The index of the record in the input request for WriteRecords.
|
String |
toString()
Returns a string representation of this object.
|
RejectedRecord |
withReason(String reason)
The reason why a record was not successfully inserted into Timestream.
|
RejectedRecord |
withRecordIndex(Integer recordIndex)
The index of the record in the input request for WriteRecords.
|
public void setRecordIndex(Integer recordIndex)
The index of the record in the input request for WriteRecords. Indexes begin with 0.
recordIndex
- The index of the record in the input request for WriteRecords. Indexes begin with 0.public Integer getRecordIndex()
The index of the record in the input request for WriteRecords. Indexes begin with 0.
public RejectedRecord withRecordIndex(Integer recordIndex)
The index of the record in the input request for WriteRecords. Indexes begin with 0.
recordIndex
- The index of the record in the input request for WriteRecords. Indexes begin with 0.public void setReason(String reason)
The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
reason
- The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
public String getReason()
The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
public RejectedRecord withReason(String reason)
The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
reason
- The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public RejectedRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.