Interface SlackConnectorProfileCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SlackConnectorProfileCredentials.Builder,SlackConnectorProfileCredentials>,SdkBuilder<SlackConnectorProfileCredentials.Builder,SlackConnectorProfileCredentials>,SdkPojo
- Enclosing class:
- SlackConnectorProfileCredentials
public static interface SlackConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<SlackConnectorProfileCredentials.Builder,SlackConnectorProfileCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SlackConnectorProfileCredentials.BuilderaccessToken(String accessToken)The credentials used to access protected Slack resources.SlackConnectorProfileCredentials.BuilderclientId(String clientId)The identifier for the client.SlackConnectorProfileCredentials.BuilderclientSecret(String clientSecret)The client secret used by the OAuth client to authenticate to the authorization server.default SlackConnectorProfileCredentials.BuilderoAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)The OAuth requirement needed to request security tokens from the connector endpoint.SlackConnectorProfileCredentials.BuilderoAuthRequest(ConnectorOAuthRequest oAuthRequest)The OAuth requirement needed to request security tokens from the connector endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientId
SlackConnectorProfileCredentials.Builder clientId(String clientId)
The identifier for the client.
- Parameters:
clientId- The identifier for the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
SlackConnectorProfileCredentials.Builder clientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
- Parameters:
clientSecret- The client secret used by the OAuth client to authenticate to the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
SlackConnectorProfileCredentials.Builder accessToken(String accessToken)
The credentials used to access protected Slack resources.
- Parameters:
accessToken- The credentials used to access protected Slack resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
SlackConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
- Parameters:
oAuthRequest- The OAuth requirement needed to request security tokens from the connector endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
default SlackConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
This is a convenience method that creates an instance of theConnectorOAuthRequest.Builderavoiding the need to create one manually viaConnectorOAuthRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuthRequest(ConnectorOAuthRequest).- Parameters:
oAuthRequest- a consumer that will call methods onConnectorOAuthRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
oAuthRequest(ConnectorOAuthRequest)
-
-