Enum Class ServiceDefinitionRequires
java.lang.Object
java.lang.Enum<ServiceDefinitionRequires>
org.springframework.cloud.servicebroker.model.catalog.ServiceDefinitionRequires
- All Implemented Interfaces:
Serializable
,Comparable<ServiceDefinitionRequires>
,Constable
The list of acceptable values for the
requires
field of a service
definition.- Author:
- Scott Frederick
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the service broker allows the platform to bind routes to a service instance.Indicates that the service broker allows the platform to stream logs from bound applications to a service instance.Indicates that the service broker allows the platform to bind volume mounts to an application. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static ServiceDefinitionRequires
Returns the enum constant of this class with the specified name.static ServiceDefinitionRequires[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVICE_REQUIRES_SYSLOG_DRAIN
Indicates that the service broker allows the platform to stream logs from bound applications to a service instance. If this permission is provided in a service definition, the broker should provide a non-null value in theCreateServiceInstanceBindingResponse.syslogDrainUrl
field in response to a bind request. -
SERVICE_REQUIRES_ROUTE_FORWARDING
Indicates that the service broker allows the platform to bind routes to a service instance. If this permission is provided in a service definition, the broker may receive bind requests with aroute
value in thebindResource
field of aCreateServiceInstanceBindingRequest
. -
SERVICE_REQUIRES_VOLUME_MOUNT
Indicates that the service broker allows the platform to bind volume mounts to an application. If this permission is provided in a service definition, the broker should provide a non-null value in theCreateServiceInstanceVolumeBindingResponse.volumeMounts
field in response to a bind request.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<ServiceDefinitionRequires>
-