Interface ZendeskConnectorProfileCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ZendeskConnectorProfileCredentials.Builder,
,ZendeskConnectorProfileCredentials> SdkBuilder<ZendeskConnectorProfileCredentials.Builder,
,ZendeskConnectorProfileCredentials> SdkPojo
- Enclosing class:
ZendeskConnectorProfileCredentials
public static interface ZendeskConnectorProfileCredentials.Builder
extends SdkPojo, CopyableBuilder<ZendeskConnectorProfileCredentials.Builder,ZendeskConnectorProfileCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The credentials used to access protected Zendesk resources.The identifier for the desired client.clientSecret
(String clientSecret) The client secret used by the OAuth client to authenticate to the authorization server.oAuthRequest
(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest) The OAuth requirement needed to request security tokens from the connector endpoint.oAuthRequest
(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 Details
-
clientId
The identifier for the desired client.
- Parameters:
clientId
- The identifier for the desired client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The credentials used to access protected Zendesk resources.
- Parameters:
accessToken
- The credentials used to access protected Zendesk resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ZendeskConnectorProfileCredentials.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.Builder
avoiding the need to create one manually viaConnectorOAuthRequest.builder()
.When the
Consumer
completes,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:
-