Interface CreateAppResponse.Builder

  • Method Details

    • app

      The created app, carrying its service-assigned appId and initial status. On an idempotent replay with the same clientToken, this is the app the original call created.

      Parameters:
      app - The created app, carrying its service-assigned appId and initial status. On an idempotent replay with the same clientToken, this is the app the original call created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • app

      The created app, carrying its service-assigned appId and initial status. On an idempotent replay with the same clientToken, this is the app the original call created.

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

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

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