java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.Schemas

public class Schemas extends Object
JSON Schemas available for a Plan.
Author:
Sam Gunaratne
See Also:
  • Constructor Details

    • Schemas

      public Schemas()
      Construct a new Schemas.
    • Schemas

      public Schemas(ServiceInstanceSchema serviceInstanceSchema, ServiceBindingSchema serviceBindingSchema)
      Construct a new Schemas.
      Parameters:
      serviceInstanceSchema - the service instance schema
      serviceBindingSchema - the service binding schema
  • Method Details

    • getServiceInstanceSchema

      public ServiceInstanceSchema getServiceInstanceSchema()
      The schemas available on a service instance.
      Returns:
      the schemas
    • getServiceBindingSchema

      public ServiceBindingSchema getServiceBindingSchema()
      The schemas available on a service binding.
      Returns:
      the schemas
    • builder

      public static Schemas.SchemasBuilder builder()
      Create a builder that provides a fluent API for constructing a Schemas.
      Returns:
      the builder
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object