Class ClientCredentialsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydataplane.model.ClientCredentialsResponse.Builder
-
- Enclosing class:
- ClientCredentialsResponse
public static class ClientCredentialsResponse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientCredentialsResponse.Builder
accessToken(String accessToken)
The access token.ClientCredentialsResponse
build()
ClientCredentialsResponse.Builder
copy(ClientCredentialsResponse model)
ClientCredentialsResponse.Builder
expiresIn(String expiresIn)
The amount of time until the token expires.ClientCredentialsResponse.Builder
tokenType(String tokenType)
The token type.
-
-
-
Method Detail
-
accessToken
public ClientCredentialsResponse.Builder accessToken(String accessToken)
The access token.- Parameters:
accessToken
- the value to set- Returns:
- this builder
-
tokenType
public ClientCredentialsResponse.Builder tokenType(String tokenType)
The token type.- Parameters:
tokenType
- the value to set- Returns:
- this builder
-
expiresIn
public ClientCredentialsResponse.Builder expiresIn(String expiresIn)
The amount of time until the token expires.- Parameters:
expiresIn
- the value to set- Returns:
- this builder
-
build
public ClientCredentialsResponse build()
-
copy
public ClientCredentialsResponse.Builder copy(ClientCredentialsResponse model)
-
-