public static class ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(ProviderAuthenticationOAuth2Flows providerAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials)
Instantiates a new Builder from an existing
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials instance.
|
| Modifier and Type | Method and Description |
|---|---|
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials |
build()
Builds a ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.
|
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder |
clientAuthType(String clientAuthType)
Set the clientAuthType.
|
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder |
contentType(String contentType)
Set the contentType.
|
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder |
headerPrefix(String headerPrefix)
Set the headerPrefix.
|
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder |
refreshUrl(String refreshUrl)
Set the refreshUrl.
|
ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder |
tokenUrl(String tokenUrl)
Set the tokenUrl.
|
public Builder(ProviderAuthenticationOAuth2Flows providerAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials)
providerAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials - the
instance to initialize the Builder withpublic Builder()
public ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials build()
public ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder tokenUrl(String tokenUrl)
tokenUrl - the tokenUrlpublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder refreshUrl(String refreshUrl)
refreshUrl - the refreshUrlpublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder clientAuthType(String clientAuthType)
clientAuthType - the clientAuthTypepublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder contentType(String contentType)
contentType - the contentTypepublic ProviderAuthenticationOAuth2FlowsProviderAuthenticationOAuth2ClientCredentials.Builder headerPrefix(String headerPrefix)
headerPrefix - the headerPrefixCopyright © 2025 IBM Cloud. All rights reserved.