Interface GetPlanResponse.Builder

  • Method Details

    • plan

      The detailed information about the requested Region switch plan.

      Parameters:
      plan - The detailed information about the requested Region switch plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plan

      The detailed information about the requested 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: