Class BindingMetadata.BindingMetadataBuilder

java.lang.Object
org.springframework.cloud.servicebroker.model.binding.BindingMetadata.BindingMetadataBuilder
Enclosing class:
BindingMetadata

public static final class BindingMetadata.BindingMetadataBuilder extends Object
Provides a fluent API for constructing a BindingMetadata.
  • Method Details

    • expiresAt

      public BindingMetadata.BindingMetadataBuilder expiresAt(String expiresAt)
      The date and time when the Service Binding becomes invalid and SHOULD NOT or CANNOT be used anymore. Applications or Platforms MAY use this field to initiate a Service Binding/credential rotation. If present, the string MUST follow ISO 8601 and this pattern: yyyy-mm-ddThh:mm:ss.ssZ.
      Parameters:
      expiresAt - the date and time in ISO 8601 format
      Returns:
      the builder
      See Also:
    • build

      public BindingMetadata build()
      Construct a BindingMetadata from the provided values.
      Returns:
      the newly constructed BindingMetadata