Class SalesforceConnectorProfileCredentials
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<SalesforceConnectorProfileCredentials.Builder,- SalesforceConnectorProfileCredentials> 
The connector-specific profile credentials required when using Salesforce.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringThe credentials used to access protected Salesforce resources.builder()final StringThe secret manager ARN, which contains the client ID and client secret of the connected app.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringjwtToken()A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.final OAuth2GrantTypeSpecifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce.final StringSpecifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce.final ConnectorOAuthRequestThe OAuth requirement needed to request security tokens from the connector endpoint.final StringThe credentials used to acquire new access tokens.static Class<? extends SalesforceConnectorProfileCredentials.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
accessTokenThe credentials used to access protected Salesforce resources. - Returns:
- The credentials used to access protected Salesforce resources.
 
- 
refreshTokenThe credentials used to acquire new access tokens. - Returns:
- The credentials used to acquire new access tokens.
 
- 
oAuthRequestThe OAuth requirement needed to request security tokens from the connector endpoint. - Returns:
- The OAuth requirement needed to request security tokens from the connector endpoint.
 
- 
clientCredentialsArnThe secret manager ARN, which contains the client ID and client secret of the connected app. - Returns:
- The secret manager ARN, which contains the client ID and client secret of the connected app.
 
- 
oAuth2GrantTypeSpecifies 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: - AUTHORIZATION_CODE
- 
 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. 
- JWT_BEARER
- 
 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. 
 The CLIENT_CREDENTIALS value is not supported for Salesforce. If the service returns an enum value that is not available in the current SDK version, oAuth2GrantTypewill returnOAuth2GrantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoAuth2GrantTypeAsString().- Returns:
- 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: - AUTHORIZATION_CODE
- 
         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. 
- JWT_BEARER
- 
         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. 
 The CLIENT_CREDENTIALS value is not supported for Salesforce. 
- See Also:
 
- 
oAuth2GrantTypeAsStringSpecifies 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: - AUTHORIZATION_CODE
- 
 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. 
- JWT_BEARER
- 
 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. 
 The CLIENT_CREDENTIALS value is not supported for Salesforce. If the service returns an enum value that is not available in the current SDK version, oAuth2GrantTypewill returnOAuth2GrantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoAuth2GrantTypeAsString().- Returns:
- 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: - AUTHORIZATION_CODE
- 
         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. 
- JWT_BEARER
- 
         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. 
 The CLIENT_CREDENTIALS value is not supported for Salesforce. 
- See Also:
 
- 
jwtTokenA JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records. - Returns:
- A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<SalesforceConnectorProfileCredentials.Builder,- SalesforceConnectorProfileCredentials> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClasspublic static Class<? extends SalesforceConnectorProfileCredentials.Builder> serializableBuilderClass()
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-