Interface CreatePlanResponse.Builder

  • Method Details

    • plan

      The details of the created Region switch plan.

      Parameters:
      plan - The details of the created Region switch plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plan

      The details of the created Region switch plan.

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

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

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