Interface UpdateServiceResponse.Builder

  • Method Details

    • service

      The full description of your service following the update call.

      The response includes a lifecycleHookDetails field, which is an empty array when the service is created or updated. The values are populated when a lifecycle hook executes and are available as part of the service deployment details (DescribeServiceDeployments).

      Parameters:
      service - The full description of your service following the update call.

      The response includes a lifecycleHookDetails field, which is an empty array when the service is created or updated. The values are populated when a lifecycle hook executes and are available as part of the service deployment details (DescribeServiceDeployments).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

      The full description of your service following the update call.

      The response includes a lifecycleHookDetails field, which is an empty array when the service is created or updated. The values are populated when a lifecycle hook executes and are available as part of the service deployment details (DescribeServiceDeployments).

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

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

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