Package com.atlan.model.admin
Class OAuthClient.OAuthClientBuilder<C extends OAuthClient,B extends OAuthClient.OAuthClientBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.OAuthClient.OAuthClientBuilder<C,B>
- Enclosing class:
OAuthClient
public abstract static class OAuthClient.OAuthClientBuilder<C extends OAuthClient,B extends OAuthClient.OAuthClientBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
Unique client identifier (prefixed GUID) of the OAuth client.clientSecret
(String clientSecret) Unique secret used to authorize exchanging for bearer tokens.Epoch time, in milliseconds, at which the OAuth client was created.User who created the OAuth client.description
(String description) Explanation of the OAuth client.displayName
(String displayName) Human-readable name provided when creating the client.Unique identifier (GUID) of the OAuth credential.personaQNs
(Collection<? extends String> personaQNs) Name of the workspace role to which the OAuth client is bound.protected abstract B
self()
tokenExpirySeconds
(Long tokenExpirySeconds) Lifespan of each exchanged token for the OAuth client.toString()
Epoch time, in milliseconds, at which the OAuth client was last updated.User who last updated the OAuth client.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
OAuthClientBuilder
public OAuthClientBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends OAuthClient,
B extends OAuthClient.OAuthClientBuilder<C, B>>
-
id
Unique identifier (GUID) of the OAuth credential.- Returns:
this
.
-
clientId
Unique client identifier (prefixed GUID) of the OAuth client.- Returns:
this
.
-
clientSecret
Unique secret used to authorize exchanging for bearer tokens.- Returns:
this
.
-
displayName
Human-readable name provided when creating the client.- Returns:
this
.
-
createdAt
Epoch time, in milliseconds, at which the OAuth client was created.- Returns:
this
.
-
createdBy
User who created the OAuth client.- Returns:
this
.
-
description
Explanation of the OAuth client.- Returns:
this
.
-
personaQN
-
personaQNs
-
clearPersonaQNs
-
role
Name of the workspace role to which the OAuth client is bound.- Returns:
this
.
-
tokenExpirySeconds
Lifespan of each exchanged token for the OAuth client.- Returns:
this
.
-
updatedAt
Epoch time, in milliseconds, at which the OAuth client was last updated.- Returns:
this
.
-
updatedBy
User who last updated the OAuth client.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends OAuthClient,
B extends OAuthClient.OAuthClientBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends OAuthClient,
B extends OAuthClient.OAuthClientBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends OAuthClient,
B extends OAuthClient.OAuthClientBuilder<C, B>>
-