Interface UpdateBillScenarioResponse.Builder

  • Method Details

    • id

      The unique identifier of the updated bill scenario.

      Parameters:
      id - The unique identifier of the updated bill scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The updated name of the bill scenario.

      Parameters:
      name - The updated name of the bill scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billInterval

      The time period covered by the updated bill scenario.

      Parameters:
      billInterval - The time period covered by the updated bill scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billInterval

      The time period covered by the updated bill scenario.

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

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

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

      The current status of the updated bill scenario.

      Parameters:
      status - The current status of the updated bill scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the updated bill scenario.

      Parameters:
      status - The current status of the updated bill scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The timestamp when the bill scenario was originally created.

      Parameters:
      createdAt - The timestamp when the bill scenario was originally created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      The updated expiration timestamp for the bill scenario.

      Parameters:
      expiresAt - The updated expiration timestamp for the bill scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureMessage

      UpdateBillScenarioResponse.Builder failureMessage(String failureMessage)

      An error message if the bill scenario update failed.

      Parameters:
      failureMessage - An error message if the bill scenario update failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.