Class PutRecordsRequest

    • Constructor Detail

      • PutRecordsRequest

        public PutRecordsRequest()
    • Method Detail

      • getRecords

        public List<PutRecordsRequestEntry> getRecords()

        The records associated with the request.

        Returns:
        The records associated with the request.
      • setRecords

        public void setRecords​(Collection<PutRecordsRequestEntry> records)

        The records associated with the request.

        Parameters:
        records - The records associated with the request.
      • withRecords

        public PutRecordsRequest withRecords​(Collection<PutRecordsRequestEntry> records)

        The records associated with the request.

        Parameters:
        records - The records associated with the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStreamName

        public void setStreamName​(String streamName)

        The stream name associated with the request.

        Parameters:
        streamName - The stream name associated with the request.
      • getStreamName

        public String getStreamName()

        The stream name associated with the request.

        Returns:
        The stream name associated with the request.
      • withStreamName

        public PutRecordsRequest withStreamName​(String streamName)

        The stream name associated with the request.

        Parameters:
        streamName - The stream name associated with the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object