Package com.atlan.model.admin
Class AbstractPurposePolicy.AbstractPurposePolicyBuilder<C extends AbstractPurposePolicy,B extends AbstractPurposePolicy.AbstractPurposePolicyBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.AbstractPolicy.AbstractPolicyBuilder<C,B>
com.atlan.model.admin.AbstractPurposePolicy.AbstractPurposePolicyBuilder<C,B>
- Enclosing class:
- AbstractPurposePolicy
public abstract static class AbstractPurposePolicy.AbstractPurposePolicyBuilder<C extends AbstractPurposePolicy,B extends AbstractPurposePolicy.AbstractPurposePolicyBuilder<C,B>>
extends AbstractPolicy.AbstractPolicyBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) Whether this policy applies to all users (true) or not (false).abstract C
build()
groups
(Collection<? extends String> groups) protected abstract B
self()
toString()
users
(Collection<? extends String> users) Methods inherited from class com.atlan.model.admin.AbstractPolicy.AbstractPolicyBuilder
allow, createdAt, createdBy, description, id, name, updatedAt, updatedBy
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
AbstractPurposePolicyBuilder
public AbstractPurposePolicyBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAbstractPolicy.AbstractPolicyBuilder<C extends AbstractPurposePolicy,
B extends AbstractPurposePolicy.AbstractPurposePolicyBuilder<C, B>>
-
allUsers
Whether this policy applies to all users (true) or not (false).- Returns:
this
.
-
group
-
groups
-
clearGroups
-
user
-
users
-
clearUsers
-
self
- Specified by:
self
in classAbstractPolicy.AbstractPolicyBuilder<C extends AbstractPurposePolicy,
B extends AbstractPurposePolicy.AbstractPurposePolicyBuilder<C, B>>
-
build
- Specified by:
build
in classAbstractPolicy.AbstractPolicyBuilder<C extends AbstractPurposePolicy,
B extends AbstractPurposePolicy.AbstractPurposePolicyBuilder<C, B>>
-
toString
- Overrides:
toString
in classAbstractPolicy.AbstractPolicyBuilder<C extends AbstractPurposePolicy,
B extends AbstractPurposePolicy.AbstractPurposePolicyBuilder<C, B>>
-