public static class ServicePrincipalCredentials.Builder extends Object
ServicePrincipalCredentials instance.| Constructor and Description |
|---|
Builder()
Constructs a
Builder instance. |
| Modifier and Type | Method and Description |
|---|---|
ServicePrincipalCredentials |
build()
Returns a new
ServicePrincipalCredentials instance built from the current state of this builder. |
ServicePrincipalCredentials.Builder |
withClientId(String clientId)
Set Client ID (API Key)
|
ServicePrincipalCredentials.Builder |
withClientSecret(String clientSecret)
Set Client Secret
|
public ServicePrincipalCredentials.Builder withClientId(String clientId)
clientId - public ServicePrincipalCredentials.Builder withClientSecret(String clientSecret)
clientSecret - public ServicePrincipalCredentials build()
ServicePrincipalCredentials instance built from the current state of this builder.ServicePrincipalCredentials instanceIllegalArgumentException - if clientId or clientSecret is not providedCopyright © 2023 Adobe. All rights reserved.