public class ClassificationsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassificationsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
ClassificationsManager() |
protected |
ClassificationsManager(ClassificationsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
ClassificationTemplate |
addClassification(List<AddClassificationRequestBody> requestBody)
Adds one or more new classifications to the list of classifications available to the
enterprise.
|
ClassificationTemplate |
addClassification(List<AddClassificationRequestBody> requestBody,
AddClassificationHeaders headers)
Adds one or more new classifications to the list of classifications available to the
enterprise.
|
ClassificationTemplate |
createClassificationTemplate(CreateClassificationTemplateRequestBody requestBody)
When an enterprise does not yet have any classifications, this API call initializes the
classification template with an initial set of classifications.
|
ClassificationTemplate |
createClassificationTemplate(CreateClassificationTemplateRequestBody requestBody,
CreateClassificationTemplateHeaders headers)
When an enterprise does not yet have any classifications, this API call initializes the
classification template with an initial set of classifications.
|
Authentication |
getAuth() |
ClassificationTemplate |
getClassificationTemplate()
Retrieves the classification metadata template and lists all the classifications available to
this enterprise.
|
ClassificationTemplate |
getClassificationTemplate(GetClassificationTemplateHeaders headers)
Retrieves the classification metadata template and lists all the classifications available to
this enterprise.
|
NetworkSession |
getNetworkSession() |
ClassificationTemplate |
updateClassification(List<UpdateClassificationRequestBody> requestBody)
Updates the labels and descriptions of one or more classifications available to the enterprise.
|
ClassificationTemplate |
updateClassification(List<UpdateClassificationRequestBody> requestBody,
UpdateClassificationHeaders headers)
Updates the labels and descriptions of one or more classifications available to the enterprise.
|
public Authentication auth
public NetworkSession networkSession
public ClassificationsManager()
protected ClassificationsManager(ClassificationsManager.Builder builder)
public ClassificationTemplate getClassificationTemplate()
This API can also be called by including the enterprise ID in the URL explicitly, for example `/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.
public ClassificationTemplate getClassificationTemplate(GetClassificationTemplateHeaders headers)
This API can also be called by including the enterprise ID in the URL explicitly, for example `/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.
headers - Headers of getClassificationTemplate methodpublic ClassificationTemplate addClassification(List<AddClassificationRequestBody> requestBody)
This API can also be called by including the enterprise ID in the URL explicitly, for example `/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.
requestBody - Request body of addClassification methodpublic ClassificationTemplate addClassification(List<AddClassificationRequestBody> requestBody, AddClassificationHeaders headers)
This API can also be called by including the enterprise ID in the URL explicitly, for example `/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.
requestBody - Request body of addClassification methodheaders - Headers of addClassification methodpublic ClassificationTemplate updateClassification(List<UpdateClassificationRequestBody> requestBody)
This API can also be called by including the enterprise ID in the URL explicitly, for example `/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.
requestBody - Request body of updateClassification methodpublic ClassificationTemplate updateClassification(List<UpdateClassificationRequestBody> requestBody, UpdateClassificationHeaders headers)
This API can also be called by including the enterprise ID in the URL explicitly, for example `/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.
requestBody - Request body of updateClassification methodheaders - Headers of updateClassification methodpublic ClassificationTemplate createClassificationTemplate(CreateClassificationTemplateRequestBody requestBody)
If an enterprise already has a classification, the template will already exist and instead an API call should be made to add additional classifications.
requestBody - Request body of createClassificationTemplate methodpublic ClassificationTemplate createClassificationTemplate(CreateClassificationTemplateRequestBody requestBody, CreateClassificationTemplateHeaders headers)
If an enterprise already has a classification, the template will already exist and instead an API call should be made to add additional classifications.
requestBody - Request body of createClassificationTemplate methodheaders - Headers of createClassificationTemplate methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()