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 TypeMethodDescriptionbooleanEquals 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.inthashCode()Return hash code for this objectvoidsetDefaultAnalysisParameters(Map<String, String> defaultAnalysisParameters) Set up the list of analysis parameters that are passed to the discovery service (via the discovery context).voidsetDiscoveryRequestType(String discoveryRequestType) Set up the new request that this discovery service supports.voidsetDiscoveryServiceGUID(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:
toStringin 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
-