Class CfnDataSourcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin>
- Enclosing class:
CfnDataSourcePropsMixin
CfnDataSourcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionalternateDataSourceParameters(List<? extends Object> alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.alternateDataSourceParameters(IResolvable alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.awsAccountId(String awsAccountId) The AWS account ID.build()create()create(CfnPropertyMixinOptions options) The credentials Amazon Quick Sight that uses to connect to your underlying source.credentials(IResolvable credentials) The credentials Amazon Quick Sight that uses to connect to your underlying source.dataSourceId(String dataSourceId) An ID for the data source.dataSourceParameters(CfnDataSourcePropsMixin.DataSourceParametersProperty dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source.dataSourceParameters(IResolvable dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source.Error information from the last update or the creation of the data source.errorInfo(IResolvable errorInfo) Error information from the last update or the creation of the data source.folderArns(List<String> folderArns) A display name for the data source.permissions(List<? extends Object> permissions) A list of resource permissions on the data source.permissions(IResolvable permissions) A list of resource permissions on the data source.sslProperties(CfnDataSourcePropsMixin.SslPropertiesProperty sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.sslProperties(IResolvable sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.The type of the data source.vpcConnectionProperties(CfnDataSourcePropsMixin.VpcConnectionPropertiesProperty vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.vpcConnectionProperties(IResolvable vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.
-
Method Details
-
create
@Stability(Stable) public static CfnDataSourcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDataSourcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDataSourcePropsMixin.Builder.
-
alternateDataSourceParameters
@Stability(Stable) public CfnDataSourcePropsMixin.Builder alternateDataSourceParameters(IResolvable alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the
DataSourceParametersstructure that's in the request with the structures in theAlternateDataSourceParametersallow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If theAlternateDataSourceParameterslist is null, theCredentialsoriginally used with thisDataSourceParametersare automatically allowed.- Parameters:
alternateDataSourceParameters- A set of alternate data source parameters that you want to share for the credentials stored with this data source. This parameter is required.- Returns:
this- See Also:
-
alternateDataSourceParameters
@Stability(Stable) public CfnDataSourcePropsMixin.Builder alternateDataSourceParameters(List<? extends Object> alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the
DataSourceParametersstructure that's in the request with the structures in theAlternateDataSourceParametersallow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If theAlternateDataSourceParameterslist is null, theCredentialsoriginally used with thisDataSourceParametersare automatically allowed.- Parameters:
alternateDataSourceParameters- A set of alternate data source parameters that you want to share for the credentials stored with this data source. This parameter is required.- Returns:
this- See Also:
-
awsAccountId
The AWS account ID.- Parameters:
awsAccountId- The AWS account ID. This parameter is required.- Returns:
this- See Also:
-
credentials
The credentials Amazon Quick Sight that uses to connect to your underlying source.Currently, only credentials based on user name and password are supported.
- Parameters:
credentials- The credentials Amazon Quick Sight that uses to connect to your underlying source. This parameter is required.- Returns:
this- See Also:
-
credentials
@Stability(Stable) public CfnDataSourcePropsMixin.Builder credentials(CfnDataSourcePropsMixin.DataSourceCredentialsProperty credentials) The credentials Amazon Quick Sight that uses to connect to your underlying source.Currently, only credentials based on user name and password are supported.
- Parameters:
credentials- The credentials Amazon Quick Sight that uses to connect to your underlying source. This parameter is required.- Returns:
this- See Also:
-
dataSourceId
An ID for the data source.This ID is unique per AWS Region for each AWS account.
- Parameters:
dataSourceId- An ID for the data source. This parameter is required.- Returns:
this- See Also:
-
dataSourceParameters
@Stability(Stable) public CfnDataSourcePropsMixin.Builder dataSourceParameters(IResolvable dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source.- Parameters:
dataSourceParameters- The parameters that Amazon Quick Sight uses to connect to your underlying source. This parameter is required.- Returns:
this- See Also:
-
dataSourceParameters
@Stability(Stable) public CfnDataSourcePropsMixin.Builder dataSourceParameters(CfnDataSourcePropsMixin.DataSourceParametersProperty dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source.- Parameters:
dataSourceParameters- The parameters that Amazon Quick Sight uses to connect to your underlying source. This parameter is required.- Returns:
this- See Also:
-
errorInfo
Error information from the last update or the creation of the data source.- Parameters:
errorInfo- Error information from the last update or the creation of the data source. This parameter is required.- Returns:
this- See Also:
-
errorInfo
@Stability(Stable) public CfnDataSourcePropsMixin.Builder errorInfo(CfnDataSourcePropsMixin.DataSourceErrorInfoProperty errorInfo) Error information from the last update or the creation of the data source.- Parameters:
errorInfo- Error information from the last update or the creation of the data source. This parameter is required.- Returns:
this- See Also:
-
folderArns
- Parameters:
folderArns- This parameter is required.- Returns:
this- See Also:
-
name
A display name for the data source.- Parameters:
name- A display name for the data source. This parameter is required.- Returns:
this- See Also:
-
permissions
A list of resource permissions on the data source.- Parameters:
permissions- A list of resource permissions on the data source. This parameter is required.- Returns:
this- See Also:
-
permissions
@Stability(Stable) public CfnDataSourcePropsMixin.Builder permissions(List<? extends Object> permissions) A list of resource permissions on the data source.- Parameters:
permissions- A list of resource permissions on the data source. This parameter is required.- Returns:
this- See Also:
-
sslProperties
Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.- Parameters:
sslProperties- Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source. This parameter is required.- Returns:
this- See Also:
-
sslProperties
@Stability(Stable) public CfnDataSourcePropsMixin.Builder sslProperties(CfnDataSourcePropsMixin.SslPropertiesProperty sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.- Parameters:
sslProperties- Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source. This parameter is required.- Returns:
this- See Also:
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the data source. This parameter is required.- Returns:
this- See Also:
-
type
The type of the data source. To return a list of all data sources, useListDataSources.Use
AMAZON_ELASTICSEARCHfor Amazon OpenSearch Service.- Parameters:
type- The type of the data source. To return a list of all data sources, useListDataSources. This parameter is required.- Returns:
this- See Also:
-
vpcConnectionProperties
@Stability(Stable) public CfnDataSourcePropsMixin.Builder vpcConnectionProperties(IResolvable vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.- Parameters:
vpcConnectionProperties- Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source. This parameter is required.- Returns:
this- See Also:
-
vpcConnectionProperties
@Stability(Stable) public CfnDataSourcePropsMixin.Builder vpcConnectionProperties(CfnDataSourcePropsMixin.VpcConnectionPropertiesProperty vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.- Parameters:
vpcConnectionProperties- Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin>- Returns:
- a newly built instance of
CfnDataSourcePropsMixin.
-