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