Interface DescribeEventSourceResponse.Builder

  • Method Details

    • eventSourceArn

      DescribeEventSourceResponse.Builder eventSourceArn(String eventSourceArn)
      Sets the value of the EventSourceArn property for this object.
      Parameters:
      eventSourceArn - The new value for the EventSourceArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

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

      DescribeEventSourceResponse.Builder eventBusArn(String eventBusArn)
      Sets the value of the EventBusArn property for this object.
      Parameters:
      eventBusArn - The new value for the EventBusArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

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

      Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of the EventSourceConfiguration.Builder avoiding the need to create one manually via EventSourceConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(EventSourceConfiguration).

      Parameters:
      configuration - a consumer that will call methods on EventSourceConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      DescribeEventSourceResponse.Builder description(String description)
      Sets the value of the Description property for this object.
      Parameters:
      description - The new value for the Description property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

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

      Sets the value of the State property for this object.
      Parameters:
      state - The new value for the State property for this object.
      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 an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.

      Parameters:
      revoked - True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      DescribeEventSourceResponse.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

      DescribeEventSourceResponse.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.