Class DataHubActorFilter


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-12-06T11:25:47.362934Z[Etc/UTC]")
    public class DataHubActorFilter
    extends java.lang.Object
    Information used to filter DataHub actors.
    • Constructor Detail

      • DataHubActorFilter

        public DataHubActorFilter()
    • Method Detail

      • getUsers

        public java.util.List<java.lang.String> getUsers()
        A specific set of users to apply the policy to (disjunctive)
        Returns:
        users
      • setUsers

        public void setUsers​(java.util.List<java.lang.String> users)
      • addGroupsItem

        public DataHubActorFilter addGroupsItem​(java.lang.String groupsItem)
      • getGroups

        public java.util.List<java.lang.String> getGroups()
        A specific set of groups to apply the policy to (disjunctive)
        Returns:
        groups
      • setGroups

        public void setGroups​(java.util.List<java.lang.String> groups)
      • resourceOwners

        public DataHubActorFilter resourceOwners​(java.lang.Boolean resourceOwners)
      • isResourceOwners

        @NotNull
        public @NotNull java.lang.Boolean isResourceOwners()
        Whether the filter should return true for owners of a particular resource. Only applies to policies of type 'Metadata', which have a resource associated with them.
        Returns:
        resourceOwners
      • setResourceOwners

        public void setResourceOwners​(java.lang.Boolean resourceOwners)
      • resourceOwnersTypes

        public DataHubActorFilter resourceOwnersTypes​(java.util.List<java.lang.String> resourceOwnersTypes)
      • addResourceOwnersTypesItem

        public DataHubActorFilter addResourceOwnersTypesItem​(java.lang.String resourceOwnersTypesItem)
      • getResourceOwnersTypes

        public java.util.List<java.lang.String> getResourceOwnersTypes()
        Define type of ownership for the policy
        Returns:
        resourceOwnersTypes
      • setResourceOwnersTypes

        public void setResourceOwnersTypes​(java.util.List<java.lang.String> resourceOwnersTypes)
      • isAllUsers

        @NotNull
        public @NotNull java.lang.Boolean isAllUsers()
        Whether the filter should apply to all users.
        Returns:
        allUsers
      • setAllUsers

        public void setAllUsers​(java.lang.Boolean allUsers)
      • isAllGroups

        @NotNull
        public @NotNull java.lang.Boolean isAllGroups()
        Whether the filter should apply to all groups.
        Returns:
        allGroups
      • setAllGroups

        public void setAllGroups​(java.lang.Boolean allGroups)
      • getRoles

        public java.util.List<java.lang.String> getRoles()
        A specific set of roles to apply the policy to (disjunctive).
        Returns:
        roles
      • setRoles

        public void setRoles​(java.util.List<java.lang.String> roles)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object