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