@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MarketoConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific profile credentials required by Marketo.
Constructor and Description |
---|
MarketoConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
MarketoConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The credentials used to access protected Marketo resources.
|
String |
getClientId()
The identifier for the desired client.
|
String |
getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
ConnectorOAuthRequest |
getOAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessToken(String accessToken)
The credentials used to access protected Marketo resources.
|
void |
setClientId(String clientId)
The identifier for the desired client.
|
void |
setClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
void |
setOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
String |
toString()
Returns a string representation of this object.
|
MarketoConnectorProfileCredentials |
withAccessToken(String accessToken)
The credentials used to access protected Marketo resources.
|
MarketoConnectorProfileCredentials |
withClientId(String clientId)
The identifier for the desired client.
|
MarketoConnectorProfileCredentials |
withClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
MarketoConnectorProfileCredentials |
withOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
public void setClientId(String clientId)
The identifier for the desired client.
clientId
- The identifier for the desired client.public String getClientId()
The identifier for the desired client.
public MarketoConnectorProfileCredentials withClientId(String clientId)
The identifier for the desired client.
clientId
- The identifier for the desired client.public void setClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
clientSecret
- The client secret used by the OAuth client to authenticate to the authorization server.public String getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
public MarketoConnectorProfileCredentials withClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
clientSecret
- The client secret used by the OAuth client to authenticate to the authorization server.public void setAccessToken(String accessToken)
The credentials used to access protected Marketo resources.
accessToken
- The credentials used to access protected Marketo resources.public String getAccessToken()
The credentials used to access protected Marketo resources.
public MarketoConnectorProfileCredentials withAccessToken(String accessToken)
The credentials used to access protected Marketo resources.
accessToken
- The credentials used to access protected Marketo resources.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 MarketoConnectorProfileCredentials 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 String toString()
toString
in class Object
Object.toString()
public MarketoConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.