java.lang.Object
org.springframework.cloud.servicebroker.model.binding.BindingMetadata

public class BindingMetadata extends Object
Service Instance Binding Metadata

An OPTIONAL object containing metadata about this Service Binding. This metadata is mainly used to manage the Service Binding itself and SHOULD NOT contain any data that is needed to connect to the Service Instance.

Author:
Roy Clarkson
  • Constructor Details

    • BindingMetadata

      public BindingMetadata()
      Construct a new BindingMetadata.
    • BindingMetadata

      public BindingMetadata(String expiresAt)
      Construct a new BindingMetadata.
      Parameters:
      expiresAt - the date and time in ISO 8601 format
  • Method Details

    • getExpiresAt

      public String getExpiresAt()
      Get the expiration date and time.
      Returns:
      the date and time in ISO 8601 format
    • builder

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

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

      public final boolean canEqual(Object other)
      Is another object type compatible with this object.
      Parameters:
      other - the other object
      Returns:
      true of compatible
    • hashCode

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

      public final String toString()
      Overrides:
      toString in class Object