Class GetLastServiceBindingOperationResponse

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

public class GetLastServiceBindingOperationResponse extends Object
Details of a response to a request to get the state of the last operation on a service instance binding.

Objects of this type are constructed by the service broker application, and used to build the response to the platform.

Author:
Scott Frederick, Roy Clarkson
See Also:
  • Constructor Details

  • Method Details

    • getState

      public OperationState getState()
      Get the current state of an asynchronous operation.
      Returns:
      the operation state
    • getDescription

      public String getDescription()
      Get the description of the current asynchronous operation.
      Returns:
      the description, or null if not provided
    • isDeleteOperation

      public boolean isDeleteOperation()
      Get a boolean value indicating whether the current operation is a delete operation.
      Returns:
      the boolean value
    • builder

      Create a builder that provides a fluent API for constructing a GetLastServiceBindingOperationResponse.
      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