Interface PutPartnerEventsRequestEntry.Builder

    • Method Detail

      • time

        PutPartnerEventsRequestEntry.Builder time​(Instant time)

        The date and time of the event.

        Parameters:
        time - The date and time of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        PutPartnerEventsRequestEntry.Builder source​(String source)

        The event source that is generating the entry.

        Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

        Parameters:
        source - The event source that is generating the entry.

        Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

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

        PutPartnerEventsRequestEntry.Builder resources​(Collection<String> resources)

        Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

        Parameters:
        resources - Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        PutPartnerEventsRequestEntry.Builder resources​(String... resources)

        Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

        Parameters:
        resources - Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • detailType

        PutPartnerEventsRequestEntry.Builder detailType​(String detailType)

        A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.

        Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

        Parameters:
        detailType - A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.

        Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

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

        PutPartnerEventsRequestEntry.Builder detail​(String detail)

        A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.

        Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

        Parameters:
        detail - A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.

        Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

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