@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceConnectorProfileCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceConnectorProfileCredentials.Builder,SalesforceConnectorProfileCredentials>
The connector-specific profile credentials required when using Salesforce.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceConnectorProfileCredentials.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The credentials used to access protected Salesforce resources.
|
static SalesforceConnectorProfileCredentials.Builder |
builder() |
String |
clientCredentialsArn()
The secret manager ARN, which contains the client ID and client secret of the connected app.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jwtToken()
A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
|
OAuth2GrantType |
oAuth2GrantType()
Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce.
|
String |
oAuth2GrantTypeAsString()
Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce.
|
ConnectorOAuthRequest |
oAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
|
String |
refreshToken()
The credentials used to acquire new access tokens.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SalesforceConnectorProfileCredentials.Builder> |
serializableBuilderClass() |
SalesforceConnectorProfileCredentials.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
The credentials used to access protected Salesforce resources.
public final String refreshToken()
The credentials used to acquire new access tokens.
public final ConnectorOAuthRequest oAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
public final String clientCredentialsArn()
The secret manager ARN, which contains the client ID and client secret of the connected app.
public final OAuth2GrantType oAuth2GrantType()
Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.
You can specify one of the following values:
Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.
Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.
Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
If the service returns an enum value that is not available in the current SDK version, oAuth2GrantType
will return OAuth2GrantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from oAuth2GrantTypeAsString().
You can specify one of the following values:
Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.
Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.
Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
OAuth2GrantTypepublic final String oAuth2GrantTypeAsString()
Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.
You can specify one of the following values:
Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.
Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.
Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
If the service returns an enum value that is not available in the current SDK version, oAuth2GrantType
will return OAuth2GrantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from oAuth2GrantTypeAsString().
You can specify one of the following values:
Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.
Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.
Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
OAuth2GrantTypepublic final String jwtToken()
A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
public SalesforceConnectorProfileCredentials.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SalesforceConnectorProfileCredentials.Builder,SalesforceConnectorProfileCredentials>public static SalesforceConnectorProfileCredentials.Builder builder()
public static Class<? extends SalesforceConnectorProfileCredentials.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.