public class ServiceDefinition
extends java.lang.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(java.lang.Object o) |
DashboardClient |
getDashboardClient()
Data necessary to activate the Dashboard SSO feature for this service.
|
java.lang.String |
getDescription()
A user-friendly short description of the service that will appear in the catalog.
|
java.lang.String |
getId()
An identifier used to correlate this service in future requests to the catalog.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
A map of metadata to further describe a service offering.
|
java.lang.String |
getName()
A CLI-friendly name of the service that will appear in the catalog.
|
java.util.List<Plan> |
getPlans()
A list of plans for this service.
|
java.util.List<java.lang.String> |
getRequires()
A list of permissions that the user would have to give the service, if they
provision it.
|
java.util.List<java.lang.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.
|
java.lang.Boolean |
isBindingsRetrievable()
Indicates whether the service broker supports retrieving service bindings.
|
java.lang.Boolean |
isInstancesRetrievable()
Indicates whether the service broker supports retrieving service instances.
|
java.lang.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.
|
java.lang.String |
toString() |
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getDescription()
public boolean isBindable()
public java.lang.Boolean isPlanUpdateable()
public java.lang.Boolean isInstancesRetrievable()
public java.lang.Boolean isBindingsRetrievable()
public java.util.List<Plan> getPlans()
public java.util.List<java.lang.String> getTags()
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
public java.util.List<java.lang.String> getRequires()
ServiceDefinitionRequires
for supported permissions.public DashboardClient getDashboardClient()
public static ServiceDefinition.ServiceDefinitionBuilder builder()
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object