public class ServiceDefinition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServiceDefinition.ServiceDefinitionBuilder
Provides a fluent API for constructing a ServiceDefinition.
|
Modifier and Type | Method and Description |
---|---|
static ServiceDefinition.ServiceDefinitionBuilder |
builder()
Create a builder that provides a fluent API for constructing a ServiceDefinition.
|
boolean |
equals(Object o) |
DashboardClient |
getDashboardClient()
Data necessary to activate the Dashboard SSO feature for this service.
|
String |
getDescription()
A user-friendly short description of the service that will appear in the catalog.
|
String |
getId()
An identifier used to correlate this service in future requests to the catalog.
|
Map<String,Object> |
getMetadata()
A map of metadata to further describe a service offering.
|
String |
getName()
A CLI-friendly name of the service that will appear in the catalog.
|
List<Plan> |
getPlans()
A list of plans for this service.
|
List<String> |
getRequires()
A list of permissions that the user would have to give the service, if they
provision it.
|
List<String> |
getTags()
A list of tags to aid in categorizing and classifying services with similar
characteristics.
|
int |
hashCode() |
boolean |
isBindable()
Indicates whether the service can be bound to applications.
|
Boolean |
isBindingsRetrievable()
Indicates whether the service broker supports retrieving service bindings.
|
Boolean |
isInstancesRetrievable()
Indicates whether the service broker supports retrieving service instances.
|
Boolean |
isPlanUpdateable()
Indicates whether the service supports requests to update instances to use a
different plan from the one used to provision a service instance.
|
String |
toString() |
public String getId()
public String getName()
public String getDescription()
public boolean isBindable()
public Boolean isPlanUpdateable()
public Boolean isInstancesRetrievable()
public Boolean isBindingsRetrievable()
public List<String> getTags()
public Map<String,Object> getMetadata()
public List<String> getRequires()
ServiceDefinitionRequires
for supported permissions.public DashboardClient getDashboardClient()
public static ServiceDefinition.ServiceDefinitionBuilder builder()