Class DiscoveryServiceRegistrationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.DiscoveryServiceRegistrationRequestBody
-
- All Implemented Interfaces:
Serializable
public class DiscoveryServiceRegistrationRequestBody extends ODFOMASAPIRequestBody
DiscoveryServiceRegistrationRequestBody provides a structure for passing details of a discovery service that is to be registered with a discovery engine.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiscoveryServiceRegistrationRequestBody()Default constructorDiscoveryServiceRegistrationRequestBody(DiscoveryServiceRegistrationRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.Map<String,String>getDefaultAnalysisParameters()Return the list of analysis parameters that are passed to the discovery service (via the discovery context).StringgetDiscoveryRequestType()Return the new request that this discovery service supports.StringgetDiscoveryServiceGUID()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.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
DiscoveryServiceRegistrationRequestBody
public DiscoveryServiceRegistrationRequestBody()
Default constructor
-
DiscoveryServiceRegistrationRequestBody
public DiscoveryServiceRegistrationRequestBody(DiscoveryServiceRegistrationRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDiscoveryServiceGUID
public String getDiscoveryServiceGUID()
Return the unique identifier of the discovery service.- Returns:
- guid
-
setDiscoveryServiceGUID
public void setDiscoveryServiceGUID(String discoveryServiceGUID)
Set up the unique identifier of the discovery service.- Parameters:
discoveryServiceGUID- guid
-
getDiscoveryRequestType
public String getDiscoveryRequestType()
Return the new request that this discovery service supports.- Returns:
- name of the request
-
setDiscoveryRequestType
public void setDiscoveryRequestType(String discoveryRequestType)
Set up the new request that this discovery service supports.- Parameters:
discoveryRequestType- name of the request
-
getDefaultAnalysisParameters
public Map<String,String> 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
public void setDefaultAnalysisParameters(Map<String,String> defaultAnalysisParameters)
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
public String toString()
JSON-style toString.- Overrides:
toStringin classODFOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-