@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific profile credentials required when using Salesforce.
Constructor and Description |
---|
SalesforceConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
SalesforceConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The credentials used to access protected Salesforce resources.
|
String |
getClientCredentialsArn()
The secret manager ARN, which contains the client ID and client secret of the connected app.
|
ConnectorOAuthRequest |
getOAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
|
String |
getRefreshToken()
The credentials used to acquire new access tokens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessToken(String accessToken)
The credentials used to access protected Salesforce resources.
|
void |
setClientCredentialsArn(String clientCredentialsArn)
The secret manager ARN, which contains the client ID and client secret of the connected app.
|
void |
setOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
void |
setRefreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceConnectorProfileCredentials |
withAccessToken(String accessToken)
The credentials used to access protected Salesforce resources.
|
SalesforceConnectorProfileCredentials |
withClientCredentialsArn(String clientCredentialsArn)
The secret manager ARN, which contains the client ID and client secret of the connected app.
|
SalesforceConnectorProfileCredentials |
withOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
SalesforceConnectorProfileCredentials |
withRefreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
public SalesforceConnectorProfileCredentials()
public void setAccessToken(String accessToken)
The credentials used to access protected Salesforce resources.
accessToken
- The credentials used to access protected Salesforce resources.public String getAccessToken()
The credentials used to access protected Salesforce resources.
public SalesforceConnectorProfileCredentials withAccessToken(String accessToken)
The credentials used to access protected Salesforce resources.
accessToken
- The credentials used to access protected Salesforce resources.public void setRefreshToken(String refreshToken)
The credentials used to acquire new access tokens.
refreshToken
- The credentials used to acquire new access tokens.public String getRefreshToken()
The credentials used to acquire new access tokens.
public SalesforceConnectorProfileCredentials withRefreshToken(String refreshToken)
The credentials used to acquire new access tokens.
refreshToken
- The credentials used to acquire new access tokens.public void setOAuthRequest(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.public ConnectorOAuthRequest getOAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
public SalesforceConnectorProfileCredentials withOAuthRequest(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.public void setClientCredentialsArn(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.public String getClientCredentialsArn()
The secret manager ARN, which contains the client ID and client secret of the connected app.
public SalesforceConnectorProfileCredentials withClientCredentialsArn(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.public String toString()
toString
in class Object
Object.toString()
public SalesforceConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.