Class URLRequestBody

java.lang.Object
org.odpi.openmetadata.adminservices.rest.URLRequestBody
Direct Known Subclasses:
PlatformSecurityRequestBody

public class URLRequestBody extends Object
URLRequestBody provides a container for transporting a URL string in a request body.
  • Constructor Details

    • URLRequestBody

      public URLRequestBody()
      Default constructor
    • URLRequestBody

      public URLRequestBody(URLRequestBody template)
      Copy/clone constructor
      Parameters:
      template - source
  • Method Details

    • getUrlRoot

      public String getUrlRoot()
      Return the URL root (typically host name and port).
      Returns:
      string
    • setUrlRoot

      public void setUrlRoot(String urlRoot)
      Set up the URL root (typically host name and port).
      Parameters:
      urlRoot - string
    • getSecretsStoreProvider

      public String getSecretsStoreProvider()
      Return the class name of the secrets store provider.
      Returns:
      string
    • setSecretsStoreProvider

      public void setSecretsStoreProvider(String secretsStoreProvider)
      Set up the class name of the secrets store provider.
      Parameters:
      secretsStoreProvider - string
    • getSecretsStoreLocation

      public String getSecretsStoreLocation()
      Return the location information for the secrets store - this is stored in the endpoint network address for the secrets store connector.
      Returns:
      string
    • setSecretsStoreLocation

      public void setSecretsStoreLocation(String secretsStoreLocation)
      Set up the location information for the secrets store - this is stored in the endpoint network address for the secrets store connector.
      Parameters:
      secretsStoreLocation - string
    • getSecretsStoreCollection

      public String getSecretsStoreCollection()
      Return the secrets collection to use for the connection to the remote server.
      Returns:
      string
    • setSecretsStoreCollection

      public void setSecretsStoreCollection(String secretsStoreCollection)
      Set up the secrets collection to use for the connection to the remote server.
      Parameters:
      secretsStoreCollection - string
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      description of the object values
    • equals

      public boolean equals(Object objectToCompare)
      Compare objects
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object
      Returns:
      boolean
    • hashCode

      public int hashCode()
      Simple hash for the object
      Overrides:
      hashCode in class Object
      Returns:
      int