Class SelfResourceLink.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of SelfResourceLink.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SelfResourceLink build()  
      SelfResourceLink.Builder setAction​(java.lang.String action)
      Optional action This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
      SelfResourceLink.Builder setHref​(java.lang.String href)
      Link to resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
      SelfResourceLink.Builder setRel​(java.lang.String rel)
      Custom relation type (follows RFC 5988 where appropriate definitions exist) This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of SelfResourceLink.
    • Method Detail

      • setAction

        public SelfResourceLink.Builder setAction​(java.lang.String action)
        Optional action This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        action - New value for the property.
      • setHref

        public SelfResourceLink.Builder setHref​(java.lang.String href)
        Link to resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        href - New value for the property.
      • setRel

        public SelfResourceLink.Builder setRel​(java.lang.String rel)
        Custom relation type (follows RFC 5988 where appropriate definitions exist) This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        rel - New value for the property.