Class SecurityTagsRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.SecurityTagsRequestBody

public class SecurityTagsRequestBody extends Object
SecurityTagsRequestBody provides a structure for passing information about the security tags that should be attached to an asset or one of its fields.
  • Constructor Details

    • SecurityTagsRequestBody

      public SecurityTagsRequestBody()
      Default constructor
    • SecurityTagsRequestBody

      public SecurityTagsRequestBody(SecurityTagsRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getSecurityLabels

      public List<String> getSecurityLabels()
      Return the list of security labels that should be attached to this element.
      Returns:
      list of strings
    • setSecurityLabels

      public void setSecurityLabels(List<String> securityLabels)
      Set up the list of security labels that should be attached to this element.
      Parameters:
      securityLabels - list of strings
    • getSecurityProperties

      public Map<String,Object> getSecurityProperties()
      Return the security properties that should be attached to this element.
      Returns:
      map of property values
    • setSecurityProperties

      public void setSecurityProperties(Map<String,Object> securityProperties)
      Set up the security properties that should be attached to this element.
      Parameters:
      securityProperties - map of property values
    • getAccessGroups

      public Map<String,List<String>> getAccessGroups()
      Return the map from operation to list of security groups.
      Returns:
      map
    • setAccessGroups

      public void setAccessGroups(Map<String,List<String>> accessGroups)
      Setup the map from operation to list of security groups.
      Parameters:
      accessGroups - map
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code