Interface PutEventsRequestEntry.Builder

  • Method Details

    • source

      The source of the event. The aws. value prefix is service-reserved and cannot be used as a value.

      Parameters:
      source - The source of the event. The aws. value prefix is service-reserved and cannot be used as a value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detailType

      PutEventsRequestEntry.Builder detailType(String detailType)

      Free-form detail-type classifying an event within its source.

      Parameters:
      detailType - Free-form detail-type classifying an event within its source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detail

      The event payload, as a valid JSON string.

      Parameters:
      detail - The event payload, as a valid JSON string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      ARNs of resources the event concerns. Included in the event delivered to subscribers.

      Parameters:
      resources - ARNs of resources the event concerns. Included in the event delivered to subscribers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      PutEventsRequestEntry.Builder resources(String... resources)

      ARNs of resources the event concerns. Included in the event delivered to subscribers.

      Parameters:
      resources - ARNs of resources the event concerns. Included in the event delivered to subscribers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • time

      The time the event occurred. Defaults to the time the service receives the event when omitted.

      Parameters:
      time - The time the event occurred. Defaults to the time the service receives the event when omitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • systemMetadata

      System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).

      Parameters:
      systemMetadata - System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • systemMetadata

      System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to systemMetadata(PutEventsSystemMetadata).

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