Enum Class ServiceDefinitionRequires

java.lang.Object
java.lang.Enum<ServiceDefinitionRequires>
org.springframework.cloud.servicebroker.model.catalog.ServiceDefinitionRequires
All Implemented Interfaces:
Serializable, Comparable<ServiceDefinitionRequires>, Constable

public enum ServiceDefinitionRequires extends Enum<ServiceDefinitionRequires>
The list of acceptable values for the requires field of a service definition.
Author:
Scott Frederick
  • Enum Constant Details

    • SERVICE_REQUIRES_SYSLOG_DRAIN

      public static final ServiceDefinitionRequires 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 the CreateServiceInstanceBindingResponse.syslogDrainUrl field in response to a bind request.
    • SERVICE_REQUIRES_ROUTE_FORWARDING

      public static final ServiceDefinitionRequires 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 a route value in the bindResource field of a CreateServiceInstanceBindingRequest.
    • SERVICE_REQUIRES_VOLUME_MOUNT

      public static final ServiceDefinitionRequires 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 the CreateServiceInstanceVolumeBindingResponse.volumeMounts field in response to a bind request.
  • Method Details

    • values

      public static ServiceDefinitionRequires[] 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

      public static ServiceDefinitionRequires valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ServiceDefinitionRequires>