public static interface CustomConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<CustomConnectorProfileCredentials.Builder,CustomConnectorProfileCredentials>
| Modifier and Type | Method and Description |
|---|---|
CustomConnectorProfileCredentials.Builder |
apiKey(ApiKeyCredentials apiKey)
The API keys required for the authentication of the user.
|
default CustomConnectorProfileCredentials.Builder |
apiKey(Consumer<ApiKeyCredentials.Builder> apiKey)
The API keys required for the authentication of the user.
|
CustomConnectorProfileCredentials.Builder |
authenticationType(AuthenticationType authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
CustomConnectorProfileCredentials.Builder |
authenticationType(String authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
|
CustomConnectorProfileCredentials.Builder |
basic(BasicAuthCredentials basic)
The basic credentials that are required for the authentication of the user.
|
default CustomConnectorProfileCredentials.Builder |
basic(Consumer<BasicAuthCredentials.Builder> basic)
The basic credentials that are required for the authentication of the user.
|
default CustomConnectorProfileCredentials.Builder |
custom(Consumer<CustomAuthCredentials.Builder> custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
|
CustomConnectorProfileCredentials.Builder |
custom(CustomAuthCredentials custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
|
default CustomConnectorProfileCredentials.Builder |
oauth2(Consumer<OAuth2Credentials.Builder> oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
|
CustomConnectorProfileCredentials.Builder |
oauth2(OAuth2Credentials oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomConnectorProfileCredentials.Builder authenticationType(String authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
authenticationType - The authentication type that the custom connector uses for authenticating while creating a connector
profile.AuthenticationType,
AuthenticationTypeCustomConnectorProfileCredentials.Builder authenticationType(AuthenticationType authenticationType)
The authentication type that the custom connector uses for authenticating while creating a connector profile.
authenticationType - The authentication type that the custom connector uses for authenticating while creating a connector
profile.AuthenticationType,
AuthenticationTypeCustomConnectorProfileCredentials.Builder basic(BasicAuthCredentials basic)
The basic credentials that are required for the authentication of the user.
basic - The basic credentials that are required for the authentication of the user.default CustomConnectorProfileCredentials.Builder basic(Consumer<BasicAuthCredentials.Builder> basic)
The basic credentials that are required for the authentication of the user.
This is a convenience method that creates an instance of theBasicAuthCredentials.Builder avoiding
the need to create one manually via BasicAuthCredentials.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to basic(BasicAuthCredentials).
basic - a consumer that will call methods on BasicAuthCredentials.Builderbasic(BasicAuthCredentials)CustomConnectorProfileCredentials.Builder oauth2(OAuth2Credentials oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
oauth2 - The OAuth 2.0 credentials required for the authentication of the user.default CustomConnectorProfileCredentials.Builder oauth2(Consumer<OAuth2Credentials.Builder> oauth2)
The OAuth 2.0 credentials required for the authentication of the user.
This is a convenience method that creates an instance of theOAuth2Credentials.Builder avoiding the
need to create one manually via OAuth2Credentials.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to oauth2(OAuth2Credentials).
oauth2 - a consumer that will call methods on OAuth2Credentials.Builderoauth2(OAuth2Credentials)CustomConnectorProfileCredentials.Builder apiKey(ApiKeyCredentials apiKey)
The API keys required for the authentication of the user.
apiKey - The API keys required for the authentication of the user.default CustomConnectorProfileCredentials.Builder apiKey(Consumer<ApiKeyCredentials.Builder> apiKey)
The API keys required for the authentication of the user.
This is a convenience method that creates an instance of theApiKeyCredentials.Builder avoiding the
need to create one manually via ApiKeyCredentials.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to apiKey(ApiKeyCredentials).
apiKey - a consumer that will call methods on ApiKeyCredentials.BuilderapiKey(ApiKeyCredentials)CustomConnectorProfileCredentials.Builder custom(CustomAuthCredentials custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
custom - If the connector uses the custom authentication mechanism, this holds the required credentials.default CustomConnectorProfileCredentials.Builder custom(Consumer<CustomAuthCredentials.Builder> custom)
If the connector uses the custom authentication mechanism, this holds the required credentials.
This is a convenience method that creates an instance of theCustomAuthCredentials.Builder avoiding
the need to create one manually via CustomAuthCredentials.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to custom(CustomAuthCredentials).
custom - a consumer that will call methods on CustomAuthCredentials.Buildercustom(CustomAuthCredentials)Copyright © 2023. All rights reserved.