@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ZendeskConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific profile credentials required when using Zendesk.
Constructor and Description |
---|
ZendeskConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
ZendeskConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The credentials used to access protected Zendesk 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 Zendesk 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.
|
ZendeskConnectorProfileCredentials |
withAccessToken(String accessToken)
The credentials used to access protected Zendesk resources.
|
ZendeskConnectorProfileCredentials |
withClientId(String clientId)
The identifier for the desired client.
|
ZendeskConnectorProfileCredentials |
withClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
ZendeskConnectorProfileCredentials |
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 ZendeskConnectorProfileCredentials 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 ZendeskConnectorProfileCredentials 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 Zendesk resources.
accessToken
- The credentials used to access protected Zendesk resources.public String getAccessToken()
The credentials used to access protected Zendesk resources.
public ZendeskConnectorProfileCredentials withAccessToken(String accessToken)
The credentials used to access protected Zendesk resources.
accessToken
- The credentials used to access protected Zendesk 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 ZendeskConnectorProfileCredentials 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 ZendeskConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.