Interface PutPartnerEventsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<PutPartnerEventsResponse.Builder,PutPartnerEventsResponse>, EventBridgeResponse.Builder, SdkBuilder<PutPartnerEventsResponse.Builder,PutPartnerEventsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
PutPartnerEventsResponse

public static interface PutPartnerEventsResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<PutPartnerEventsResponse.Builder,PutPartnerEventsResponse>
  • Method Details

    • failedEntryCount

      PutPartnerEventsResponse.Builder failedEntryCount(Integer failedEntryCount)

      The number of events from this operation that could not be written to the partner event bus.

      Parameters:
      failedEntryCount - The number of events from this operation that could not be written to the partner event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The results for each event entry the partner submitted in this request. If the event was successfully submitted, 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 results for each event entry the partner submitted in this request. If the event was successfully submitted, 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 results for each event entry the partner submitted in this request. If the event was successfully submitted, 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 results for each event entry the partner submitted in this request. If the event was successfully submitted, 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 results for each event entry the partner submitted in this request. If the event was successfully submitted, 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 PutPartnerEventsResultEntry.Builder avoiding the need to create one manually via PutPartnerEventsResultEntry.builder().

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

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