Class NewDiscoveryServiceRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
org.odpi.openmetadata.accessservices.discoveryengine.rest.NewDiscoveryServiceRequestBody
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UpdateDiscoveryServiceRequestBody
NewDiscoveryServiceRequestBody provides a structure for passing the properties of a new discovery service
as a request body over a REST API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the connection used to create a instance of this discovery service.Return the description of the discovery engine.Return the display name for messages and UI.Returns the stored qualified name property for the metadata entity.inthashCode()Return hash code for this objectvoidsetConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Set up the connection used to create a instance of this discovery service.voidsetDescription(String description) Set up the description of the discovery engine.voidsetDisplayName(String displayName) Set up the display name for messages and UI.voidsetQualifiedName(String qualifiedName) Set up the fully qualified name.toString()JSON-style toString.
-
Constructor Details
-
NewDiscoveryServiceRequestBody
public NewDiscoveryServiceRequestBody()Default constructor -
NewDiscoveryServiceRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
setQualifiedName
Set up the fully qualified name.- Parameters:
qualifiedName- String name
-
getQualifiedName
Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.- Returns:
- qualifiedName
-
getDisplayName
Return the display name for messages and UI.- Returns:
- string name
-
setDisplayName
Set up the display name for messages and UI.- Parameters:
displayName- string name
-
getDescription
Return the description of the discovery engine.- Returns:
- string description
-
setDescription
Set up the description of the discovery engine.- Parameters:
description- string
-
getConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getConnection()Return the connection used to create a instance of this discovery service.- Returns:
- Connection object
-
setConnection
public void setConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Set up the connection used to create a instance of this discovery service.- Parameters:
connection- connection object
-
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
-