Interface ServiceLifecycle.Builder

  • Method Details

    • service

      ServiceLifecycle.Builder service(String service)

      The name of the Amazon Web Services service.

      Parameters:
      service - The name of the Amazon Web Services service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      ServiceLifecycle.Builder version(String version)

      The version of the service.

      Parameters:
      version - The version of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      A human-readable title for the lifecycle entry.

      Parameters:
      title - A human-readable title for the lifecycle entry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedVersion

      ServiceLifecycle.Builder recommendedVersion(String recommendedVersion)

      The recommended version to upgrade to.

      Parameters:
      recommendedVersion - The recommended version to upgrade to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleEvents

      ServiceLifecycle.Builder lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)

      The list of lifecycle events for this service version.

      Parameters:
      lifecycleEvents - The list of lifecycle events for this service version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleEvents

      ServiceLifecycle.Builder lifecycleEvents(LifecycleEvent... lifecycleEvents)

      The list of lifecycle events for this service version.

      Parameters:
      lifecycleEvents - The list of lifecycle events for this service version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleEvents

      ServiceLifecycle.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)

      The list of lifecycle events for this service version.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycleEvents(List<LifecycleEvent>).

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