Interface CustomConnectorProfileCredentials.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CustomConnectorProfileCredentials.Builder,,- CustomConnectorProfileCredentials> - SdkBuilder<CustomConnectorProfileCredentials.Builder,,- CustomConnectorProfileCredentials> - SdkPojo
- Enclosing class:
- CustomConnectorProfileCredentials
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
authenticationTypeThe 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:
 
- 
authenticationTypeThe 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:
 
- 
basicThe 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.
 
- 
basicdefault 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.Builderavoiding the need to create one manually viaBasicAuthCredentials.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobasic(BasicAuthCredentials).- Parameters:
- basic- a consumer that will call methods on- BasicAuthCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
oauth2The 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.
 
- 
oauth2default 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.Builderavoiding the need to create one manually viaOAuth2Credentials.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooauth2(OAuth2Credentials).- Parameters:
- oauth2- a consumer that will call methods on- OAuth2Credentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
apiKeyThe 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.
 
- 
apiKeydefault 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.Builderavoiding the need to create one manually viaApiKeyCredentials.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiKey(ApiKeyCredentials).- Parameters:
- apiKey- a consumer that will call methods on- ApiKeyCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
customIf 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.
 
- 
customdefault 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.Builderavoiding the need to create one manually viaCustomAuthCredentials.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomAuthCredentials).- Parameters:
- custom- a consumer that will call methods on- CustomAuthCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-