Class DashboardClient.DashboardClientBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.DashboardClient.DashboardClientBuilder
- Enclosing class:
- DashboardClient
Provides a fluent API for constructing a DashboardClient.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct aDashboardClient
from the provided values.The client ID of the dashboard OAuth2 client that the service intends to use.redirectUri
(String redirectUri) A domain for the service dashboard that will be whitelisted by the UAA to enable dashboard SSO.The client secret for the dashboard OAuth2 client.
-
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
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
Construct aDashboardClient
from the provided values.- Returns:
- the newly constructed DashboardClient
-