Interface EventSource.Builder

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

public static interface EventSource.Builder extends SdkPojo, CopyableBuilder<EventSource.Builder,EventSource>
  • Method Details

    • arn

      The ARN of the event source.

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

      EventSource.Builder createdBy(String createdBy)

      The name of the partner that created the event source.

      Parameters:
      createdBy - The name of the partner that created the event source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      EventSource.Builder creationTime(Instant creationTime)

      The date and time the event source was created.

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

      EventSource.Builder expirationTime(Instant expirationTime)

      The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.

      Parameters:
      expirationTime - The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the event source.

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

      The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

      Parameters:
      state - The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

      Parameters:
      state - The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: