public static class ClientCredentialsResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ClientCredentialsResponse.Builder accessToken(String accessToken)
The access token.
accessToken
- the value to setpublic ClientCredentialsResponse.Builder tokenType(String tokenType)
The token type.
tokenType
- the value to setpublic ClientCredentialsResponse.Builder expiresIn(String expiresIn)
The amount of time until the token expires.
expiresIn
- the value to setpublic ClientCredentialsResponse build()
public ClientCredentialsResponse.Builder copy(ClientCredentialsResponse model)
Copyright © 2016–2024. All rights reserved.