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)
      Sets the value of the DetailType property for this object.
      Parameters:
      detailType - The new value for the DetailType property for this object.
      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

      Sets the value of the SystemMetadata property for this object.
      Parameters:
      systemMetadata - The new value for the SystemMetadata property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • systemMetadata

      Sets the value of the SystemMetadata property for this object. 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: