Interface EventBus.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventBus.Builder,EventBus>, SdkBuilder<EventBus.Builder,EventBus>, SdkPojo
Enclosing class:
EventBus

@Mutable @NotThreadSafe public static interface EventBus.Builder extends SdkPojo, CopyableBuilder<EventBus.Builder,EventBus>
  • Method Details

    • name

      The name of the event bus.

      Parameters:
      name - The name of the event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the event bus.

      Parameters:
      arn - The ARN of the event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      EventBus.Builder description(String description)

      The event bus description.

      Parameters:
      description - The event bus description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      EventBus.Builder policy(String policy)

      The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.

      Parameters:
      policy - The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      EventBus.Builder creationTime(Instant creationTime)

      The time the event bus was created.

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

      EventBus.Builder lastModifiedTime(Instant lastModifiedTime)

      The time the event bus was last modified.

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

      EventBus.Builder managedBy(String managedBy)

      If the event bus was created on behalf of your account by an Amazon Web Services service, this field displays the principal name of the service that created the event bus.

      Parameters:
      managedBy - If the event bus was created on behalf of your account by an Amazon Web Services service, this field displays the principal name of the service that created the event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.