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

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

    • ServiceMetadata

      public ServiceMetadata()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Get the display name of the service.
      Returns:
      the display name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set the display name of the service.
      Parameters:
      displayName - the display name
    • getImageUrl

      public String getImageUrl()
      Get the image URL.
      Returns:
      the image URL
    • getImageUrlResource

      public String getImageUrlResource()
      Get the image URL resource path.
      Returns:
      the image URL resource path
    • setImageUrlResource

      public void setImageUrlResource(String imageUrlResource)
      Set the image URL resource path.
      Parameters:
      imageUrlResource - the image URL resource path
    • setImageUrl

      public void setImageUrl(String imageUrl)
      Set the image URL.
      Parameters:
      imageUrl - the image URL
    • getLongDescription

      public String getLongDescription()
      Get the long description of the service.
      Returns:
      the long description
    • setLongDescription

      public void setLongDescription(String longDescription)
      Set the long description of the service.
      Parameters:
      longDescription - the long description
    • getProviderDisplayName

      public String getProviderDisplayName()
      Get the provider display name.
      Returns:
      the provider display name
    • setProviderDisplayName

      public void setProviderDisplayName(String providerDisplayName)
      Set the provider display name.
      Parameters:
      providerDisplayName - the provider display name
    • getDocumentationUrl

      public String getDocumentationUrl()
      Get the documentation URL.
      Returns:
      the documentation URL
    • setDocumentationUrl

      public void setDocumentationUrl(String documentationUrl)
      Set the documentation URL.
      Parameters:
      documentationUrl - the documentation URL
    • getSupportUrl

      public String getSupportUrl()
      Get the support URL.
      Returns:
      the support URL
    • setSupportUrl

      public void setSupportUrl(String supportUrl)
      Set the support URL.
      Parameters:
      supportUrl - the support URL
    • getProperties

      public Map<String,Object> getProperties()
      Get the additional properties for the service metadata.
      Returns:
      the properties map
    • setProperties

      public void setProperties(Map<String,Object> properties)
      Set additional properties for the service metadata.
      Parameters:
      properties - the properties map
    • toModel

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