public class GovernanceZoneRESTServices extends Object
| Constructor and Description |
|---|
GovernanceZoneRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
createGovernanceZone(String serverName,
String userId,
GovernanceZoneProperties requestBody)
Create a definition of a governance zone.
|
VoidResponse |
deleteGovernanceZone(String serverName,
String userId,
String zoneGUID,
NullRequestBody requestBody)
Remove the definition of a zone.
|
GovernanceZoneResponse |
getGovernanceZoneByGUID(String serverName,
String userId,
String zoneGUID)
Return information about a specific governance zone.
|
GovernanceZoneResponse |
getGovernanceZoneByName(String serverName,
String userId,
String qualifiedName)
Return information about a specific governance zone.
|
GovernanceZoneDefinitionResponse |
getGovernanceZoneDefinitionByGUID(String serverName,
String userId,
String zoneGUID)
Return information about a specific governance zone and its linked governance definitions.
|
GovernanceZoneListResponse |
getGovernanceZonesForDomain(String serverName,
String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Return information about the defined governance zones.
|
VoidResponse |
linkZonesInHierarchy(String serverName,
String userId,
String parentZoneGUID,
String childZoneGUID,
NullRequestBody requestBody)
Link two related governance zones together as part of a hierarchy.
|
VoidResponse |
linkZoneToGovernanceDefinition(String serverName,
String userId,
String zoneGUID,
String definitionGUID,
NullRequestBody requestBody)
Link a governance zone to a governance definition that controls how the assets in the zone should be governed.
|
VoidResponse |
unlinkZoneFromGovernanceDefinition(String serverName,
String userId,
String zoneGUID,
String definitionGUID,
NullRequestBody requestBody)
Remove the link between a zone and a governance definition.
|
VoidResponse |
unlinkZonesInHierarchy(String serverName,
String userId,
String parentZoneGUID,
String childZoneGUID,
NullRequestBody requestBody)
Remove the link between two zones in the zone hierarchy.
|
VoidResponse |
updateGovernanceZone(String serverName,
String userId,
String zoneGUID,
boolean isMergeUpdate,
GovernanceZoneProperties requestBody)
Update the definition of a zone.
|
public GovernanceZoneRESTServices()
public GUIDResponse createGovernanceZone(String serverName, String userId, GovernanceZoneProperties requestBody)
serverName - name of the server instance to connect touserId - calling userrequestBody - other properties for a governance zonepublic VoidResponse updateGovernanceZone(String serverName, String userId, String zoneGUID, boolean isMergeUpdate, GovernanceZoneProperties requestBody)
serverName - name of the server instance to connect touserId - calling userzoneGUID - unique identifier of zoneisMergeUpdate - are unspecified properties unchanged (true) or replaced with null?requestBody - properties to changepublic VoidResponse deleteGovernanceZone(String serverName, String userId, String zoneGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userzoneGUID - unique identifier of zonepublic VoidResponse linkZonesInHierarchy(String serverName, String userId, String parentZoneGUID, String childZoneGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userparentZoneGUID - unique identifier of the parent zonechildZoneGUID - unique identifier of the child zonerequestBody - null requestBodypublic VoidResponse unlinkZonesInHierarchy(String serverName, String userId, String parentZoneGUID, String childZoneGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userparentZoneGUID - unique identifier of the parent zonechildZoneGUID - unique identifier of the child zonerequestBody - null requestBodypublic VoidResponse linkZoneToGovernanceDefinition(String serverName, String userId, String zoneGUID, String definitionGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userzoneGUID - unique identifier of the zonedefinitionGUID - unique identifier of the governance definitionrequestBody - null requestBodypublic VoidResponse unlinkZoneFromGovernanceDefinition(String serverName, String userId, String zoneGUID, String definitionGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userzoneGUID - unique identifier of the zonedefinitionGUID - unique identifier of the governance definitionrequestBody - null requestBodypublic GovernanceZoneResponse getGovernanceZoneByGUID(String serverName, String userId, String zoneGUID)
serverName - name of the server instance to connect touserId - calling userzoneGUID - unique identifier for the zonepublic GovernanceZoneResponse getGovernanceZoneByName(String serverName, String userId, String qualifiedName)
serverName - name of the server instance to connect touserId - calling userqualifiedName - unique name for the zonepublic GovernanceZoneListResponse getGovernanceZonesForDomain(String serverName, String userId, int domainIdentifier, int startFrom, int pageSize)
serverName - name of the server instance to connect touserId - calling userdomainIdentifier - identifier for the desired governance domain - 0 for all domainsstartFrom - paging start pointpageSize - maximum results that can be returnedpublic GovernanceZoneDefinitionResponse getGovernanceZoneDefinitionByGUID(String serverName, String userId, String zoneGUID)
serverName - name of the server instance to connect touserId - calling userzoneGUID - unique identifier for the zoneCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.