java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.PlanMetadata

public class PlanMetadata extends Object
Internal class for marshaling ServiceBrokerProperties configuration properties that describes a service offered by this broker.
Author:
Roy Clarkson
See Also:
  • Constructor Details

    • PlanMetadata

      public PlanMetadata()
  • Method Details

    • getCosts

      public List<Cost> getCosts()
    • setCosts

      public void setCosts(List<Cost> costs)
    • getBullets

      public List<String> getBullets()
    • setBullets

      public void setBullets(List<String> bullets)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getProperties

      public Map<String,Object> getProperties()
    • setProperties

      public void setProperties(Map<String,Object> properties)
    • getProperty

      public Object getProperty(String key)
      Get the value of a property with the given key.
      Parameters:
      key - the key of the value to retrieve
      Returns:
      the value of the property, or null if the key is not present in the bind resource
    • toModel

      public Map<String,Object> toModel()
      Converts this object into its corresponding model.
      Returns:
      a Map model
      See Also: