public static class ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(ProviderPrivateAuthenticationOAuth2FlowFlows providerPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials)
Instantiates a new Builder from an existing
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials
instance.
|
| Modifier and Type | Method and Description |
|---|---|
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder |
accessToken(String accessToken)
Set the accessToken.
|
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials |
build()
Builds a
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.
|
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder |
clientId(String clientId)
Set the clientId.
|
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder |
clientSecret(String clientSecret)
Set the clientSecret.
|
ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder |
refreshToken(String refreshToken)
Set the refreshToken.
|
public Builder(ProviderPrivateAuthenticationOAuth2FlowFlows providerPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials)
providerPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials - the instance to initialize the Builder withpublic Builder()
public ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials build()
public ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder clientId(String clientId)
clientId - the clientIdpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder clientSecret(String clientSecret)
clientSecret - the clientSecretpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder accessToken(String accessToken)
accessToken - the accessTokenpublic ProviderPrivateAuthenticationOAuth2FlowFlowsProviderPrivateAuthenticationOAuth2ClientCredentials.Builder refreshToken(String refreshToken)
refreshToken - the refreshTokenCopyright © 2025 IBM Cloud. All rights reserved.