Class SecurityTagsRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.SecurityTagsRequestBody
SecurityTagsRequestBody provides a structure for passing information about the security tags that should be
attached to an asset or one of its fields.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the map from operation to list of security groups.Return the list of security labels that should be attached to this element.Return the security properties that should be attached to this element.int
hashCode()
Return hash code for this objectvoid
setAccessGroups
(Map<String, List<String>> accessGroups) Setup the map from operation to list of security groups.void
setSecurityLabels
(List<String> securityLabels) Set up the list of security labels that should be attached to this element.void
setSecurityProperties
(Map<String, Object> securityProperties) Set up the security properties that should be attached to this element.toString()
JSON-style toString.
-
Constructor Details
-
SecurityTagsRequestBody
public SecurityTagsRequestBody()Default constructor -
SecurityTagsRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSecurityLabels
Return the list of security labels that should be attached to this element.- Returns:
- list of strings
-
setSecurityLabels
Set up the list of security labels that should be attached to this element.- Parameters:
securityLabels
- list of strings
-
getSecurityProperties
Return the security properties that should be attached to this element.- Returns:
- map of property values
-
setSecurityProperties
Set up the security properties that should be attached to this element.- Parameters:
securityProperties
- map of property values
-
getAccessGroups
Return the map from operation to list of security groups.- Returns:
- map
-
setAccessGroups
Setup the map from operation to list of security groups.- Parameters:
accessGroups
- map
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-