Class CfnDataSourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourceMixinProps>
- Enclosing interface:
CfnDataSourceMixinProps
@Stability(Stable)
public static final class CfnDataSourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourceMixinProps>
A builder for
CfnDataSourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternateDataSourceParameters(List<? extends Object> alternateDataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getAlternateDataSourceParameters()alternateDataSourceParameters(IResolvable alternateDataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getAlternateDataSourceParameters()awsAccountId(String awsAccountId) Sets the value ofCfnDataSourceMixinProps.getAwsAccountId()build()Builds the configured instance.Sets the value ofCfnDataSourceMixinProps.getCredentials()credentials(IResolvable credentials) Sets the value ofCfnDataSourceMixinProps.getCredentials()dataSourceId(String dataSourceId) Sets the value ofCfnDataSourceMixinProps.getDataSourceId()dataSourceParameters(CfnDataSourcePropsMixin.DataSourceParametersProperty dataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getDataSourceParameters()dataSourceParameters(IResolvable dataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getDataSourceParameters()Sets the value ofCfnDataSourceMixinProps.getErrorInfo()errorInfo(IResolvable errorInfo) Sets the value ofCfnDataSourceMixinProps.getErrorInfo()folderArns(List<String> folderArns) Sets the value ofCfnDataSourceMixinProps.getFolderArns()Sets the value ofCfnDataSourceMixinProps.getName()permissions(List<? extends Object> permissions) Sets the value ofCfnDataSourceMixinProps.getPermissions()permissions(IResolvable permissions) Sets the value ofCfnDataSourceMixinProps.getPermissions()sslProperties(CfnDataSourcePropsMixin.SslPropertiesProperty sslProperties) Sets the value ofCfnDataSourceMixinProps.getSslProperties()sslProperties(IResolvable sslProperties) Sets the value ofCfnDataSourceMixinProps.getSslProperties()Sets the value ofCfnDataSourceMixinProps.getTags()Sets the value ofCfnDataSourceMixinProps.getType()vpcConnectionProperties(CfnDataSourcePropsMixin.VpcConnectionPropertiesProperty vpcConnectionProperties) Sets the value ofCfnDataSourceMixinProps.getVpcConnectionProperties()vpcConnectionProperties(IResolvable vpcConnectionProperties) Sets the value ofCfnDataSourceMixinProps.getVpcConnectionProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alternateDataSourceParameters
@Stability(Stable) public CfnDataSourceMixinProps.Builder alternateDataSourceParameters(IResolvable alternateDataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getAlternateDataSourceParameters()- Parameters:
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 theDataSourceParametersstructure 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.- Returns:
this
-
alternateDataSourceParameters
@Stability(Stable) public CfnDataSourceMixinProps.Builder alternateDataSourceParameters(List<? extends Object> alternateDataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getAlternateDataSourceParameters()- Parameters:
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 theDataSourceParametersstructure 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.- Returns:
this
-
awsAccountId
Sets the value ofCfnDataSourceMixinProps.getAwsAccountId()- Parameters:
awsAccountId- The AWS account ID.- Returns:
this
-
credentials
Sets the value ofCfnDataSourceMixinProps.getCredentials()- Parameters:
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.- Returns:
this
-
credentials
@Stability(Stable) public CfnDataSourceMixinProps.Builder credentials(CfnDataSourcePropsMixin.DataSourceCredentialsProperty credentials) Sets the value ofCfnDataSourceMixinProps.getCredentials()- Parameters:
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.- Returns:
this
-
dataSourceId
Sets the value ofCfnDataSourceMixinProps.getDataSourceId()- Parameters:
dataSourceId- An ID for the data source. This ID is unique per AWS Region for each AWS account.- Returns:
this
-
dataSourceParameters
@Stability(Stable) public CfnDataSourceMixinProps.Builder dataSourceParameters(IResolvable dataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getDataSourceParameters()- Parameters:
dataSourceParameters- The parameters that Amazon Quick Sight uses to connect to your underlying source.- Returns:
this
-
dataSourceParameters
@Stability(Stable) public CfnDataSourceMixinProps.Builder dataSourceParameters(CfnDataSourcePropsMixin.DataSourceParametersProperty dataSourceParameters) Sets the value ofCfnDataSourceMixinProps.getDataSourceParameters()- Parameters:
dataSourceParameters- The parameters that Amazon Quick Sight uses to connect to your underlying source.- Returns:
this
-
errorInfo
Sets the value ofCfnDataSourceMixinProps.getErrorInfo()- Parameters:
errorInfo- Error information from the last update or the creation of the data source.- Returns:
this
-
errorInfo
@Stability(Stable) public CfnDataSourceMixinProps.Builder errorInfo(CfnDataSourcePropsMixin.DataSourceErrorInfoProperty errorInfo) Sets the value ofCfnDataSourceMixinProps.getErrorInfo()- Parameters:
errorInfo- Error information from the last update or the creation of the data source.- Returns:
this
-
folderArns
Sets the value ofCfnDataSourceMixinProps.getFolderArns()- Parameters:
folderArns- the value to be set.- Returns:
this
-
name
Sets the value ofCfnDataSourceMixinProps.getName()- Parameters:
name- A display name for the data source.- Returns:
this
-
permissions
Sets the value ofCfnDataSourceMixinProps.getPermissions()- Parameters:
permissions- A list of resource permissions on the data source.- Returns:
this
-
permissions
@Stability(Stable) public CfnDataSourceMixinProps.Builder permissions(List<? extends Object> permissions) Sets the value ofCfnDataSourceMixinProps.getPermissions()- Parameters:
permissions- A list of resource permissions on the data source.- Returns:
this
-
sslProperties
Sets the value ofCfnDataSourceMixinProps.getSslProperties()- Parameters:
sslProperties- Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.- Returns:
this
-
sslProperties
@Stability(Stable) public CfnDataSourceMixinProps.Builder sslProperties(CfnDataSourcePropsMixin.SslPropertiesProperty sslProperties) Sets the value ofCfnDataSourceMixinProps.getSslProperties()- Parameters:
sslProperties- Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.- Returns:
this
-
tags
Sets the value ofCfnDataSourceMixinProps.getTags()- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.- Returns:
this
-
type
Sets the value ofCfnDataSourceMixinProps.getType()- Parameters:
type- The type of the data source. To return a list of all data sources, useListDataSources. UseAMAZON_ELASTICSEARCHfor Amazon OpenSearch Service.- Returns:
this
-
vpcConnectionProperties
@Stability(Stable) public CfnDataSourceMixinProps.Builder vpcConnectionProperties(IResolvable vpcConnectionProperties) Sets the value ofCfnDataSourceMixinProps.getVpcConnectionProperties()- Parameters:
vpcConnectionProperties- Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.- Returns:
this
-
vpcConnectionProperties
@Stability(Stable) public CfnDataSourceMixinProps.Builder vpcConnectionProperties(CfnDataSourcePropsMixin.VpcConnectionPropertiesProperty vpcConnectionProperties) Sets the value ofCfnDataSourceMixinProps.getVpcConnectionProperties()- Parameters:
vpcConnectionProperties- Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourceMixinProps>- Returns:
- a new instance of
CfnDataSourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-