Class SecurityTagsRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.SecurityTagsRequestBody
- All Implemented Interfaces:
Serializable
SecurityTagsRequestBody provides a structure for passing information about the security tags that should be
attached to an asset or one of its fields.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.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
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
-
toString
JSON-style toString.- Overrides:
toString
in classAssetOwnerOMASAPIRequestBody
- 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
-