Class GenerateScopedAccessTokenDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydataplane.model.GenerateScopedAccessTokenDetails.Builder
-
- Enclosing class:
- GenerateScopedAccessTokenDetails
public static class GenerateScopedAccessTokenDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateScopedAccessTokenDetails
build()
GenerateScopedAccessTokenDetails.Builder
copy(GenerateScopedAccessTokenDetails model)
GenerateScopedAccessTokenDetails.Builder
publicKey(String publicKey)
A temporary public key, owned by the service.GenerateScopedAccessTokenDetails.Builder
scope(String scope)
Scope definition for the scoped access token
-
-
-
Method Detail
-
scope
public GenerateScopedAccessTokenDetails.Builder scope(String scope)
Scope definition for the scoped access token- Parameters:
scope
- the value to set- Returns:
- this builder
-
publicKey
public GenerateScopedAccessTokenDetails.Builder publicKey(String publicKey)
A temporary public key, owned by the service.The service also owns the corresponding private key. This public key will be put inside the security token by the auth service after successful validation of the certificate.
- Parameters:
publicKey
- the value to set- Returns:
- this builder
-
build
public GenerateScopedAccessTokenDetails build()
-
copy
public GenerateScopedAccessTokenDetails.Builder copy(GenerateScopedAccessTokenDetails model)
-
-