public static interface ZendeskConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<ZendeskConnectorProfileCredentials.Builder,ZendeskConnectorProfileCredentials>
| Modifier and Type | Method and Description |
|---|---|
ZendeskConnectorProfileCredentials.Builder |
accessToken(String accessToken)
The credentials used to access protected Zendesk resources.
|
ZendeskConnectorProfileCredentials.Builder |
clientId(String clientId)
The identifier for the desired client.
|
ZendeskConnectorProfileCredentials.Builder |
clientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
ZendeskConnectorProfileCredentials.Builder |
oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
default ZendeskConnectorProfileCredentials.Builder |
oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildZendeskConnectorProfileCredentials.Builder clientId(String clientId)
The identifier for the desired client.
clientId - The identifier for the desired client.ZendeskConnectorProfileCredentials.Builder clientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
clientSecret - The client secret used by the OAuth client to authenticate to the authorization server.ZendeskConnectorProfileCredentials.Builder accessToken(String accessToken)
The credentials used to access protected Zendesk resources.
accessToken - The credentials used to access protected Zendesk resources.ZendeskConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
oAuthRequest - The OAuth requirement needed to request security tokens from the connector endpoint.default ZendeskConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
This is a convenience method that creates an instance of theConnectorOAuthRequest.Builder avoiding
the need to create one manually via ConnectorOAuthRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to oAuthRequest(ConnectorOAuthRequest).
oAuthRequest - a consumer that will call methods on ConnectorOAuthRequest.BuilderoAuthRequest(ConnectorOAuthRequest)Copyright © 2022. All rights reserved.