Class DataHubActorFilter
- java.lang.Object
-
- io.datahubproject.openapi.generated.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.ObjectInformation used to filter DataHub actors.
-
-
Constructor Summary
Constructors Constructor Description DataHubActorFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataHubActorFilteraddGroupsItem(java.lang.String groupsItem)DataHubActorFilteraddResourceOwnersTypesItem(java.lang.String resourceOwnersTypesItem)DataHubActorFilteraddRolesItem(java.lang.String rolesItem)DataHubActorFilteraddUsersItem(java.lang.String usersItem)DataHubActorFilterallGroups(java.lang.Boolean allGroups)DataHubActorFilterallUsers(java.lang.Boolean allUsers)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getGroups()A specific set of groups to apply the policy to (disjunctive)java.util.List<java.lang.String>getResourceOwnersTypes()Define type of ownership for the policyjava.util.List<java.lang.String>getRoles()A specific set of roles to apply the policy to (disjunctive).java.util.List<java.lang.String>getUsers()A specific set of users to apply the policy to (disjunctive)DataHubActorFiltergroups(java.util.List<java.lang.String> groups)inthashCode()@NotNull java.lang.BooleanisAllGroups()Whether the filter should apply to all groups.@NotNull java.lang.BooleanisAllUsers()Whether the filter should apply to all users.@NotNull java.lang.BooleanisResourceOwners()Whether the filter should return true for owners of a particular resource.DataHubActorFilterresourceOwners(java.lang.Boolean resourceOwners)DataHubActorFilterresourceOwnersTypes(java.util.List<java.lang.String> resourceOwnersTypes)DataHubActorFilterroles(java.util.List<java.lang.String> roles)voidsetAllGroups(java.lang.Boolean allGroups)voidsetAllUsers(java.lang.Boolean allUsers)voidsetGroups(java.util.List<java.lang.String> groups)voidsetResourceOwners(java.lang.Boolean resourceOwners)voidsetResourceOwnersTypes(java.util.List<java.lang.String> resourceOwnersTypes)voidsetRoles(java.util.List<java.lang.String> roles)voidsetUsers(java.util.List<java.lang.String> users)java.lang.StringtoString()DataHubActorFilterusers(java.util.List<java.lang.String> users)
-
-
-
Method Detail
-
users
public DataHubActorFilter users(java.util.List<java.lang.String> users)
-
addUsersItem
public DataHubActorFilter addUsersItem(java.lang.String usersItem)
-
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)
-
groups
public DataHubActorFilter groups(java.util.List<java.lang.String> groups)
-
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)
-
allUsers
public DataHubActorFilter allUsers(java.lang.Boolean allUsers)
-
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)
-
allGroups
public DataHubActorFilter allGroups(java.lang.Boolean allGroups)
-
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)
-
roles
public DataHubActorFilter roles(java.util.List<java.lang.String> roles)
-
addRolesItem
public DataHubActorFilter addRolesItem(java.lang.String rolesItem)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-