Interface CreateSubscriberResponse.Builder

  • Method Details

    • subscriberArn

      CreateSubscriberResponse.Builder subscriberArn(String subscriberArn)

      The Amazon Resource Name (ARN) that uniquely identifies a subscriber.

      Parameters:
      subscriberArn - The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Name of a subscriber. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.

      Parameters:
      name - Name of a subscriber. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBusArn

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

      Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.

      Parameters:
      type - Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.

      Parameters:
      type - Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startingPosition

      CreateSubscriberResponse.Builder startingPosition(String startingPosition)

      Starting position for a subscriber.

      Parameters:
      startingPosition - Starting position for a subscriber.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startingPosition

      CreateSubscriberResponse.Builder startingPosition(StartingPosition startingPosition)

      Starting position for a subscriber.

      Parameters:
      startingPosition - Starting position for a subscriber.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pointInTimeConfiguration

      CreateSubscriberResponse.Builder pointInTimeConfiguration(PointInTimeConfiguration pointInTimeConfiguration)

      Point-in-time configuration for a subscriber. Only applicable when StartingPosition is POINT_IN_TIME.

      Parameters:
      pointInTimeConfiguration - Point-in-time configuration for a subscriber. Only applicable when StartingPosition is POINT_IN_TIME.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pointInTimeConfiguration

      default CreateSubscriberResponse.Builder pointInTimeConfiguration(Consumer<PointInTimeConfiguration.Builder> pointInTimeConfiguration)

      Point-in-time configuration for a subscriber. Only applicable when StartingPosition is POINT_IN_TIME.

      This is a convenience method that creates an instance of the PointInTimeConfiguration.Builder avoiding the need to create one manually via PointInTimeConfiguration.builder().

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

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

      Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.

      Parameters:
      state - Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.

      Parameters:
      state - Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      CreateSubscriberResponse.Builder creationTime(Instant creationTime)

      The time the subscriber was created.

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

      CreateSubscriberResponse.Builder subscriberDetails(SubscriberDetails subscriberDetails)
      Sets the value of the SubscriberDetails property for this object.
      Parameters:
      subscriberDetails - The new value for the SubscriberDetails property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriberDetails

      default CreateSubscriberResponse.Builder subscriberDetails(Consumer<SubscriberDetails.Builder> subscriberDetails)
      Sets the value of the SubscriberDetails property for this object. This is a convenience method that creates an instance of the SubscriberDetails.Builder avoiding the need to create one manually via SubscriberDetails.builder().

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

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