Package com.atlan.model.admin
Class AbstractPolicy.AbstractPolicyBuilder<C extends AbstractPolicy,B extends AbstractPolicy.AbstractPolicyBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.AbstractPolicy.AbstractPolicyBuilder<C,B>
- Direct Known Subclasses:
AbstractPersonaPolicy.AbstractPersonaPolicyBuilder
,AbstractPurposePolicy.AbstractPurposePolicyBuilder
- Enclosing class:
- AbstractPolicy
public abstract static class AbstractPolicy.AbstractPolicyBuilder<C extends AbstractPolicy,B extends AbstractPolicy.AbstractPolicyBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) Whether the actions are granted (true) or explicitly denied (false).abstract C
build()
Time (epoch) at which this policy was created, in milliseconds.Username of the user who created this policy.description
(String description) Explanation of the policy.Unique identifier (GUID) of the policy.Name of the policy.protected abstract B
self()
toString()
Time (epoch) at which this policy was updated, in milliseconds.Username of the user who updated this policy.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
AbstractPolicyBuilder
public AbstractPolicyBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends AbstractPolicy,
B extends AbstractPolicy.AbstractPolicyBuilder<C, B>>
-
id
Unique identifier (GUID) of the policy.- Returns:
this
.
-
name
Name of the policy.- Returns:
this
.
-
description
Explanation of the policy.- Returns:
this
.
-
allow
Whether the actions are granted (true) or explicitly denied (false).- Returns:
this
.
-
createdAt
Time (epoch) at which this policy was created, in milliseconds.- Returns:
this
.
-
createdBy
Username of the user who created this policy.- Returns:
this
.
-
updatedAt
Time (epoch) at which this policy was updated, in milliseconds.- Returns:
this
.
-
updatedBy
Username of the user who updated this policy.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends AbstractPolicy,
B extends AbstractPolicy.AbstractPolicyBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends AbstractPolicy,
B extends AbstractPolicy.AbstractPolicyBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends AbstractPolicy,
B extends AbstractPolicy.AbstractPolicyBuilder<C, B>>
-