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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum 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 ServiceDefinitionRequiresReturns 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.syslogDrainUrlfield 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 aroutevalue in thebindResourcefield 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.volumeMountsfield 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:
toStringin classEnum<ServiceDefinitionRequires>
-