Class DashboardClient.DashboardClientBuilder

java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.DashboardClient.DashboardClientBuilder
Enclosing class:
DashboardClient

public static final class DashboardClient.DashboardClientBuilder extends Object
Provides a fluent API for constructing a DashboardClient.
  • Method Details

    • id

      The client ID of the dashboard OAuth2 client that the service intends to use. The name must be unique within the platform. If the name is already in use, the platform will return an error to the operator when the service is registered.
      Parameters:
      id - the client ID
      Returns:
      the builder instance
    • secret

      The client secret for the dashboard OAuth2 client.
      Parameters:
      secret - the client secret
      Returns:
      the builder instance
    • redirectUri

      public DashboardClient.DashboardClientBuilder redirectUri(String redirectUri)
      A domain for the service dashboard that will be whitelisted by the UAA to enable dashboard SSO.
      Parameters:
      redirectUri - the dashboard URI
      Returns:
      the builder instance
    • build

      public DashboardClient build()
      Construct a DashboardClient from the provided values.
      Returns:
      the newly constructed DashboardClient