Class ConnectorConfigPropertiesRequestBody

java.lang.Object
org.odpi.openmetadata.governanceservers.integrationdaemonservices.rest.ConnectorConfigPropertiesRequestBody
All Implemented Interfaces:
Serializable

public class ConnectorConfigPropertiesRequestBody extends Object implements Serializable
ConnectorConfigPropertiesRequestBody describes the request body used to update the configuration properties of an integration connector.
See Also:
  • Constructor Details

    • ConnectorConfigPropertiesRequestBody

      public ConnectorConfigPropertiesRequestBody()
      Default constructor
    • ConnectorConfigPropertiesRequestBody

      public ConnectorConfigPropertiesRequestBody(ConnectorConfigPropertiesRequestBody template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getConnectorName

      public String getConnectorName()
      Return the name of the connector (from the integration service configuration).
      Returns:
      string name
    • setConnectorName

      public void setConnectorName(String connectorName)
      Set up the name of the connector (from the integration service configuration).
      Parameters:
      connectorName - string name
    • getMergeUpdate

      public boolean getMergeUpdate()
      Return indication of whether properties should be over-write or replace existing properties.
      Returns:
      boolean flag
    • setMergeUpdate

      public void setMergeUpdate(boolean mergeUpdate)
      Set up the indication of whether properties should be over-write or replace existing properties.
      Parameters:
      mergeUpdate - boolean flag
    • getConfigurationProperties

      public Map<String,Object> getConfigurationProperties()
      Return the configuration properties for the connection.
      Returns:
      properties object
    • setConfigurationProperties

      public void setConfigurationProperties(Map<String,Object> configurationProperties)
      Set up the configuration properties for the connection.
      Parameters:
      configurationProperties - properties object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code