Interface CustomConnectorProfileCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomConnectorProfileCredentials.Builder,
,CustomConnectorProfileCredentials> SdkBuilder<CustomConnectorProfileCredentials.Builder,
,CustomConnectorProfileCredentials> SdkPojo
- Enclosing class:
CustomConnectorProfileCredentials
-
Method Summary
Modifier and TypeMethodDescriptionapiKey
(Consumer<ApiKeyCredentials.Builder> apiKey) The API keys required for the authentication of the user.apiKey
(ApiKeyCredentials apiKey) The API keys required for the authentication of the user.authenticationType
(String authenticationType) The authentication type that the custom connector uses for authenticating while creating a connector profile.authenticationType
(AuthenticationType authenticationType) The authentication type that the custom connector uses for authenticating while creating a connector profile.The basic credentials that are required for the authentication of the user.basic
(BasicAuthCredentials basic) The basic credentials that are required for the authentication of the user.custom
(Consumer<CustomAuthCredentials.Builder> custom) If the connector uses the custom authentication mechanism, this holds the required credentials.custom
(CustomAuthCredentials custom) If the connector uses the custom authentication mechanism, this holds the required credentials.oauth2
(Consumer<OAuth2Credentials.Builder> oauth2) The OAuth 2.0 credentials required for the authentication of the user.oauth2
(OAuth2Credentials oauth2) The OAuth 2.0 credentials required for the authentication of the user.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
-
authenticationType
The authentication type that the custom connector uses for authenticating while creating a connector profile.
- Parameters:
authenticationType
- The authentication type that the custom connector uses for authenticating while creating a connector profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The authentication type that the custom connector uses for authenticating while creating a connector profile.
- Parameters:
authenticationType
- The authentication type that the custom connector uses for authenticating while creating a connector profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
basic
The basic credentials that are required for the authentication of the user.
- Parameters:
basic
- The basic credentials that are required for the authentication of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basic
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 viaBasicAuthCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasic(BasicAuthCredentials)
.- Parameters:
basic
- a consumer that will call methods onBasicAuthCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oauth2
The OAuth 2.0 credentials required for the authentication of the user.
- Parameters:
oauth2
- The OAuth 2.0 credentials required for the authentication of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2
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 viaOAuth2Credentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooauth2(OAuth2Credentials)
.- Parameters:
oauth2
- a consumer that will call methods onOAuth2Credentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKey
The API keys required for the authentication of the user.
- Parameters:
apiKey
- The API keys required for the authentication of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKey
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 viaApiKeyCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiKey(ApiKeyCredentials)
.- Parameters:
apiKey
- a consumer that will call methods onApiKeyCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
If the connector uses the custom authentication mechanism, this holds the required credentials.
- Parameters:
custom
- If the connector uses the custom authentication mechanism, this holds the required credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
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 viaCustomAuthCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustom(CustomAuthCredentials)
.- Parameters:
custom
- a consumer that will call methods onCustomAuthCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-