Class DiscoveryServiceRegistrationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
org.odpi.openmetadata.accessservices.discoveryengine.rest.DiscoveryServiceRegistrationRequestBody
- All Implemented Interfaces:
Serializable
DiscoveryServiceRegistrationRequestBody provides a structure for passing details of a discovery service
that is to be registered with a discovery engine.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the list of analysis parameters that are passed to the discovery service (via the discovery context).Return the new request that this discovery service supports.Return the unique identifier of the discovery service.int
hashCode()
Return hash code for this objectvoid
setDefaultAnalysisParameters
(Map<String, String> defaultAnalysisParameters) Set up the list of analysis parameters that are passed to the discovery service (via the discovery context).void
setDiscoveryRequestType
(String discoveryRequestType) Set up the new request that this discovery service supports.void
setDiscoveryServiceGUID
(String discoveryServiceGUID) Set up the unique identifier of the discovery service.toString()
JSON-style toString.
-
Constructor Details
-
DiscoveryServiceRegistrationRequestBody
public DiscoveryServiceRegistrationRequestBody()Default constructor -
DiscoveryServiceRegistrationRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDiscoveryServiceGUID
Return the unique identifier of the discovery service.- Returns:
- guid
-
setDiscoveryServiceGUID
Set up the unique identifier of the discovery service.- Parameters:
discoveryServiceGUID
- guid
-
getDiscoveryRequestType
Return the new request that this discovery service supports.- Returns:
- name of the request
-
setDiscoveryRequestType
Set up the new request that this discovery service supports.- Parameters:
discoveryRequestType
- name of the request
-
getDefaultAnalysisParameters
Return the list of analysis parameters that are passed to the discovery service (via the discovery context). These values can be overridden on the actual discovery request.- Returns:
- map of parameter name to parameter value
-
setDefaultAnalysisParameters
Set up the list of analysis parameters that are passed to the discovery service (via the discovery context). These values can be overridden on the actual discovery request.- Parameters:
defaultAnalysisParameters
- map of parameter name to parameter value
-
toString
JSON-style toString.- Overrides:
toString
in classODFOMASAPIRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-