Class DashboardClient
java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.DashboardClient
The dashboard URI for a
ServiceDefinition
.- Author:
- Scott Frederick, Roy Clarkson
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing a DashboardClient. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newDashboardClient
.DashboardClient
(String id, String secret, String redirectUri) Construct a newDashboardClient
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that provides a fluent API for constructing a DashboardClient.final boolean
getId()
The client ID of the dashboard OAuth2 client that the service intends to use.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.final int
hashCode()
toString()
-
Constructor Details
-
DashboardClient
public DashboardClient()Construct a newDashboardClient
. -
DashboardClient
Construct a newDashboardClient
.- Parameters:
id
- the client IDsecret
- the client secretredirectUri
- the dashboard URI
-
-
Method Details
-
getId
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.- Returns:
- the client ID
-
getSecret
The client secret for the dashboard OAuth2 client.- Returns:
- the client secret
-
getRedirectUri
A domain for the service dashboard that will be whitelisted by the UAA to enable dashboard SSO.- Returns:
- the dashboard URI
-
builder
Create a builder that provides a fluent API for constructing a DashboardClient.- Returns:
- the builder
-
equals
-
hashCode
public final int hashCode() -
toString
-