Class CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAccessor.DataAccessorAuthenticationDetailProperty>
- Enclosing interface:
CfnDataAccessor.DataAccessorAuthenticationDetailProperty
@Stability(Stable)
public static final class CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAccessor.DataAccessorAuthenticationDetailProperty>
A builder for
CfnDataAccessor.DataAccessorAuthenticationDetailProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationConfiguration
(IResolvable authenticationConfiguration) authenticationConfiguration
(CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty authenticationConfiguration) authenticationType
(String authenticationType) build()
Builds the configured instance.externalIds
(List<String> externalIds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder authenticationType(String authenticationType) - Parameters:
authenticationType
- The type of authentication to use for the data accessor. This parameter is required. This determines how the ISV authenticates when accessing data. You can use one of two authentication types:AWS_IAM_IDC_TTI
- Authentication using IAM Identity Center Trusted Token Issuer (TTI). This authentication type allows the ISV to use a trusted token issuer to generate tokens for accessing the data.AWS_IAM_IDC_AUTH_CODE
- Authentication using IAM Identity Center authorization code flow. This authentication type uses the standard OAuth 2.0 authorization code flow for authentication.
- Returns:
this
-
authenticationConfiguration
@Stability(Stable) public CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder authenticationConfiguration(IResolvable authenticationConfiguration) Sets the value ofCfnDataAccessor.DataAccessorAuthenticationDetailProperty.getAuthenticationConfiguration()
- Parameters:
authenticationConfiguration
- The specific authentication configuration based on the authentication type.- Returns:
this
-
authenticationConfiguration
@Stability(Stable) public CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder authenticationConfiguration(CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty authenticationConfiguration) Sets the value ofCfnDataAccessor.DataAccessorAuthenticationDetailProperty.getAuthenticationConfiguration()
- Parameters:
authenticationConfiguration
- The specific authentication configuration based on the authentication type.- Returns:
this
-
externalIds
@Stability(Stable) public CfnDataAccessor.DataAccessorAuthenticationDetailProperty.Builder externalIds(List<String> externalIds) - Parameters:
externalIds
- A list of external identifiers associated with this authentication configuration. These are used to correlate the data accessor with external systems.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataAccessor.DataAccessorAuthenticationDetailProperty>
- Returns:
- a new instance of
CfnDataAccessor.DataAccessorAuthenticationDetailProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-