Class CfnDataSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource>
- Enclosing class:
CfnDataSource
CfnDataSource
.-
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()
static CfnDataSource.Builder
credentials
(IResolvable credentials) The credentials Amazon QuickSight that uses to connect to your underlying source.credentials
(CfnDataSource.DataSourceCredentialsProperty credentials) The credentials Amazon QuickSight that uses to connect to your underlying source.dataSourceId
(String dataSourceId) An ID for the data source.dataSourceParameters
(IResolvable dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.dataSourceParameters
(CfnDataSource.DataSourceParametersProperty dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.errorInfo
(IResolvable errorInfo) Error information from the last update or the creation of the data source.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
(IResolvable sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.sslProperties
(CfnDataSource.SslPropertiesProperty sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon QuickSight 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
(IResolvable vpcConnectionProperties) Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.vpcConnectionProperties
(CfnDataSource.VpcConnectionPropertiesProperty vpcConnectionProperties) Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
-
Method Details
-
create
@Stability(Stable) public static CfnDataSource.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDataSource.Builder
.
-
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:
-
type
The type of the data source. To return a list of all data sources, useListDataSources
.Use
AMAZON_ELASTICSEARCH
for 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:
-
alternateDataSourceParameters
@Stability(Stable) public CfnDataSource.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
DataSourceParameters
structure that's in the request with the structures in theAlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If theAlternateDataSourceParameters
list is null, theCredentials
originally used with thisDataSourceParameters
are 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 CfnDataSource.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
DataSourceParameters
structure that's in the request with the structures in theAlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If theAlternateDataSourceParameters
list is null, theCredentials
originally used with thisDataSourceParameters
are 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 QuickSight that uses to connect to your underlying source.Currently, only credentials based on user name and password are supported.
- Parameters:
credentials
- The credentials Amazon QuickSight that uses to connect to your underlying source. This parameter is required.- Returns:
this
- See Also:
-
credentials
@Stability(Stable) public CfnDataSource.Builder credentials(CfnDataSource.DataSourceCredentialsProperty credentials) The credentials Amazon QuickSight that uses to connect to your underlying source.Currently, only credentials based on user name and password are supported.
- Parameters:
credentials
- The credentials Amazon QuickSight 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 CfnDataSource.Builder dataSourceParameters(IResolvable dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.- Parameters:
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source. This parameter is required.- Returns:
this
- See Also:
-
dataSourceParameters
@Stability(Stable) public CfnDataSource.Builder dataSourceParameters(CfnDataSource.DataSourceParametersProperty dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.- Parameters:
dataSourceParameters
- The parameters that Amazon QuickSight 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 CfnDataSource.Builder errorInfo(CfnDataSource.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:
-
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
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 QuickSight connects to your underlying source.- Parameters:
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. This parameter is required.- Returns:
this
- See Also:
-
sslProperties
@Stability(Stable) public CfnDataSource.Builder sslProperties(CfnDataSource.SslPropertiesProperty sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.- Parameters:
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight 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:
-
vpcConnectionProperties
@Stability(Stable) public CfnDataSource.Builder vpcConnectionProperties(IResolvable vpcConnectionProperties) Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.- Parameters:
vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source. This parameter is required.- Returns:
this
- See Also:
-
vpcConnectionProperties
@Stability(Stable) public CfnDataSource.Builder vpcConnectionProperties(CfnDataSource.VpcConnectionPropertiesProperty vpcConnectionProperties) Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.- Parameters:
vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource>
- Returns:
- a newly built instance of
CfnDataSource
.
-