public static final class CfnDataSourceProps.Builder
extends java.lang.Object
CfnDataSourceProps
Constructor and Description |
---|
Builder() |
public CfnDataSourceProps.Builder alternateDataSourceParameters(IResolvable alternateDataSourceParameters)
CfnDataSourceProps.getAlternateDataSourceParameters()
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 the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters
list is null, the Credentials
originally used with this DataSourceParameters
are automatically allowed.this
public CfnDataSourceProps.Builder alternateDataSourceParameters(java.util.List<? extends java.lang.Object> alternateDataSourceParameters)
CfnDataSourceProps.getAlternateDataSourceParameters()
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 the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters
list is null, the Credentials
originally used with this DataSourceParameters
are automatically allowed.this
public CfnDataSourceProps.Builder awsAccountId(java.lang.String awsAccountId)
CfnDataSourceProps.getAwsAccountId()
awsAccountId
- The AWS account ID.this
public CfnDataSourceProps.Builder credentials(IResolvable credentials)
CfnDataSourceProps.getCredentials()
credentials
- The credentials Amazon QuickSight that uses to connect to your underlying source.
Currently, only credentials based on user name and password are supported.this
public CfnDataSourceProps.Builder credentials(CfnDataSource.DataSourceCredentialsProperty credentials)
CfnDataSourceProps.getCredentials()
credentials
- The credentials Amazon QuickSight that uses to connect to your underlying source.
Currently, only credentials based on user name and password are supported.this
public CfnDataSourceProps.Builder dataSourceId(java.lang.String dataSourceId)
CfnDataSourceProps.getDataSourceId()
dataSourceId
- An ID for the data source.
This ID is unique per AWS Region for each AWS account.this
public CfnDataSourceProps.Builder dataSourceParameters(IResolvable dataSourceParameters)
CfnDataSourceProps.getDataSourceParameters()
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source.this
public CfnDataSourceProps.Builder dataSourceParameters(CfnDataSource.DataSourceParametersProperty dataSourceParameters)
CfnDataSourceProps.getDataSourceParameters()
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source.this
public CfnDataSourceProps.Builder errorInfo(IResolvable errorInfo)
CfnDataSourceProps.getErrorInfo()
errorInfo
- Error information from the last update or the creation of the data source.this
public CfnDataSourceProps.Builder errorInfo(CfnDataSource.DataSourceErrorInfoProperty errorInfo)
CfnDataSourceProps.getErrorInfo()
errorInfo
- Error information from the last update or the creation of the data source.this
public CfnDataSourceProps.Builder name(java.lang.String name)
CfnDataSourceProps.getName()
name
- A display name for the data source.this
public CfnDataSourceProps.Builder permissions(IResolvable permissions)
CfnDataSourceProps.getPermissions()
permissions
- A list of resource permissions on the data source.this
public CfnDataSourceProps.Builder permissions(java.util.List<? extends java.lang.Object> permissions)
CfnDataSourceProps.getPermissions()
permissions
- A list of resource permissions on the data source.this
public CfnDataSourceProps.Builder sslProperties(IResolvable sslProperties)
CfnDataSourceProps.getSslProperties()
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.this
public CfnDataSourceProps.Builder sslProperties(CfnDataSource.SslPropertiesProperty sslProperties)
CfnDataSourceProps.getSslProperties()
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.this
public CfnDataSourceProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDataSourceProps.getTags()
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.this
public CfnDataSourceProps.Builder type(java.lang.String type)
CfnDataSourceProps.getType()
type
- The type of the data source. To return a list of all data sources, use `ListDataSources` .
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.this
public CfnDataSourceProps.Builder vpcConnectionProperties(IResolvable vpcConnectionProperties)
CfnDataSourceProps.getVpcConnectionProperties()
vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.this
public CfnDataSourceProps.Builder vpcConnectionProperties(CfnDataSource.VpcConnectionPropertiesProperty vpcConnectionProperties)
CfnDataSourceProps.getVpcConnectionProperties()
vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.this
public CfnDataSourceProps build()
CfnDataSourceProps
java.lang.NullPointerException
- if any required attribute was not provided