public static interface SalesforceConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<SalesforceConnectorProfileCredentials.Builder,SalesforceConnectorProfileCredentials>
| Modifier and Type | Method and Description |
|---|---|
SalesforceConnectorProfileCredentials.Builder |
accessToken(String accessToken)
The credentials used to access protected Salesforce resources.
|
SalesforceConnectorProfileCredentials.Builder |
clientCredentialsArn(String clientCredentialsArn)
The secret manager ARN, which contains the client ID and client secret of the connected app.
|
SalesforceConnectorProfileCredentials.Builder |
oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
default SalesforceConnectorProfileCredentials.Builder |
oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
SalesforceConnectorProfileCredentials.Builder |
refreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSalesforceConnectorProfileCredentials.Builder accessToken(String accessToken)
The credentials used to access protected Salesforce resources.
accessToken - The credentials used to access protected Salesforce resources.SalesforceConnectorProfileCredentials.Builder refreshToken(String refreshToken)
The credentials used to acquire new access tokens.
refreshToken - The credentials used to acquire new access tokens.SalesforceConnectorProfileCredentials.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 SalesforceConnectorProfileCredentials.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)SalesforceConnectorProfileCredentials.Builder clientCredentialsArn(String clientCredentialsArn)
The secret manager ARN, which contains the client ID and client secret of the connected app.
clientCredentialsArn - The secret manager ARN, which contains the client ID and client secret of the connected app.Copyright © 2022. All rights reserved.