|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.kinesis.model.GetRecordsResult
public class GetRecordsResult
Represents the output of a GetRecords
operation.
Constructor Summary | |
---|---|
GetRecordsResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getNextShardIterator()
The next position in the shard from which to start sequentially reading data records. |
List<Record> |
getRecords()
The data records retrieved from the shard. |
int |
hashCode()
|
void |
setNextShardIterator(String nextShardIterator)
The next position in the shard from which to start sequentially reading data records. |
void |
setRecords(Collection<Record> records)
The data records retrieved from the shard. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetRecordsResult |
withNextShardIterator(String nextShardIterator)
The next position in the shard from which to start sequentially reading data records. |
GetRecordsResult |
withRecords(Collection<Record> records)
The data records retrieved from the shard. |
GetRecordsResult |
withRecords(Record... records)
The data records retrieved from the shard. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetRecordsResult()
Method Detail |
---|
public List<Record> getRecords()
The data records retrieved from the shard.
The data records retrieved from the shard.
public void setRecords(Collection<Record> records)
The data records retrieved from the shard.
records
- The data records retrieved from the shard.
public GetRecordsResult withRecords(Record... records)
The data records retrieved from the shard.
Returns a reference to this object so that method calls can be chained together.
records
- The data records retrieved from the shard.
public GetRecordsResult withRecords(Collection<Record> records)
The data records retrieved from the shard.
Returns a reference to this object so that method calls can be chained together.
records
- The data records retrieved from the shard.
public String getNextShardIterator()
null
, the shard has been
closed and the requested iterator will not return any more data.
Constraints:
Length: 1 - 512
null
, the shard has been
closed and the requested iterator will not return any more data.public void setNextShardIterator(String nextShardIterator)
null
, the shard has been
closed and the requested iterator will not return any more data.
Constraints:
Length: 1 - 512
nextShardIterator
- The next position in the shard from which to start sequentially
reading data records. If set to null
, the shard has been
closed and the requested iterator will not return any more data.public GetRecordsResult withNextShardIterator(String nextShardIterator)
null
, the shard has been
closed and the requested iterator will not return any more data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
nextShardIterator
- The next position in the shard from which to start sequentially
reading data records. If set to null
, the shard has been
closed and the requested iterator will not return any more data.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |