Interface PutEventsResponse.Builder

  • Method Details

    • failedEntryCount

      PutEventsResponse.Builder failedEntryCount(Integer failedEntryCount)

      The number of failed entries.

      Parameters:
      failedEntryCount - The number of failed entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

      For each record, the index of the response element is the same as the index in the request array.

      Parameters:
      entries - The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

      For each record, the index of the response element is the same as the index in the request array.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

      For each record, the index of the response element is the same as the index in the request array.

      Parameters:
      entries - The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

      For each record, the index of the response element is the same as the index in the request array.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.

      For each record, the index of the response element is the same as the index in the request array.

      This is a convenience method that creates an instance of the PutEventsResultEntry.Builder avoiding the need to create one manually via PutEventsResultEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entries(List<PutEventsResultEntry>).

      Parameters:
      entries - a consumer that will call methods on PutEventsResultEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: