Interface EventSourceSummary.Builder

  • Method Details

    • eventSourceArn

      EventSourceSummary.Builder eventSourceArn(String eventSourceArn)

      EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.

      Parameters:
      eventSourceArn - EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.

      Parameters:
      name - EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBusArn

      EventSourceSummary.Builder eventBusArn(String eventBusArn)

      The Amazon Resource Name (ARN) that uniquely identifies an event bus.

      Parameters:
      eventBusArn - The Amazon Resource Name (ARN) that uniquely identifies an event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Origin type of an EventSource.

      • AWS_SERVICE_EVENTS - Events from an AWS service.

      • PARTNER_EVENTS - Events from a partner event source.

      • WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.

      Parameters:
      type - Origin type of an EventSource.

      • AWS_SERVICE_EVENTS - Events from an AWS service.

      • PARTNER_EVENTS - Events from a partner event source.

      • WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.

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

      Origin type of an EventSource.

      • AWS_SERVICE_EVENTS - Events from an AWS service.

      • PARTNER_EVENTS - Events from a partner event source.

      • WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.

      Parameters:
      type - Origin type of an EventSource.

      • AWS_SERVICE_EVENTS - Events from an AWS service.

      • PARTNER_EVENTS - Events from a partner event source.

      • WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.

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

      Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.

      Parameters:
      state - Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.

      Parameters:
      state - Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • revoked

      True when the bus owner has withdrawn this EventSource. Present only when true, so a bus owner listing EventSources sees at a glance which ones they revoked. See DescribeEventSourceResponse$Revoked.

      Parameters:
      revoked - True when the bus owner has withdrawn this EventSource. Present only when true, so a bus owner listing EventSources sees at a glance which ones they revoked. See DescribeEventSourceResponse$Revoked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      EventSourceSummary.Builder creationTime(Instant creationTime)

      The time the EventSource was created.

      Parameters:
      creationTime - The time the EventSource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      EventSourceSummary.Builder lastModifiedTime(Instant lastModifiedTime)

      The time the EventSource was last modified.

      Parameters:
      lastModifiedTime - The time the EventSource was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventSourceAccountId

      EventSourceSummary.Builder eventSourceAccountId(String eventSourceAccountId)

      AWS Account Id.

      Parameters:
      eventSourceAccountId - AWS Account Id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.