Interface DataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSource.Builder,
,DataSource> SdkBuilder<DataSource.Builder,
,DataSource> SdkPojo
- Enclosing class:
DataSource
-
Method Summary
Modifier and TypeMethodDescriptionalternateDataSourceParameters
(Collection<DataSourceParameters> alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.alternateDataSourceParameters
(Consumer<DataSourceParameters.Builder>... alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.alternateDataSourceParameters
(DataSourceParameters... alternateDataSourceParameters) A set of alternate data source parameters that you want to share for the credentials stored with this data source.The Amazon Resource Name (ARN) of the data source.createdTime
(Instant createdTime) The time that this data source was created.dataSourceId
(String dataSourceId) The ID of the data source.default DataSource.Builder
dataSourceParameters
(Consumer<DataSourceParameters.Builder> dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.dataSourceParameters
(DataSourceParameters dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.default DataSource.Builder
errorInfo
(Consumer<DataSourceErrorInfo.Builder> errorInfo) Error information from the last update or the creation of the data source.errorInfo
(DataSourceErrorInfo errorInfo) Error information from the last update or the creation of the data source.lastUpdatedTime
(Instant lastUpdatedTime) The last time that this data source was updated.A display name for the data source.The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.default DataSource.Builder
sslProperties
(Consumer<SslProperties.Builder> sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.sslProperties
(SslProperties sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.The HTTP status of the request.status
(ResourceStatus status) The HTTP status of the request.The type of the data source.type
(DataSourceType type) The type of the data source.default DataSource.Builder
vpcConnectionProperties
(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties) The VPC connection information.vpcConnectionProperties
(VpcConnectionProperties vpcConnectionProperties) The VPC connection information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the data source.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A display name for the data source.
- Parameters:
name
- A display name for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the data source. This type indicates which database engine the data source connects to.
- Parameters:
type
- The type of the data source. This type indicates which database engine the data source connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the data source. This type indicates which database engine the data source connects to.
- Parameters:
type
- The type of the data source. This type indicates which database engine the data source connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The HTTP status of the request.
- Parameters:
status
- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The HTTP status of the request.
- Parameters:
status
- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The time that this data source was created.
- Parameters:
createdTime
- The time that this data source was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The last time that this data source was updated.
- Parameters:
lastUpdatedTime
- The last time that this data source was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceParameters
The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
- Parameters:
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceParameters
default DataSource.Builder dataSourceParameters(Consumer<DataSourceParameters.Builder> dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
This is a convenience method that creates an instance of theDataSourceParameters.Builder
avoiding the need to create one manually viaDataSourceParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSourceParameters(DataSourceParameters)
.- Parameters:
dataSourceParameters
- a consumer that will call methods onDataSourceParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alternateDataSourceParameters
DataSource.Builder alternateDataSourceParameters(Collection<DataSourceParameters> 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. 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 theDataSourceParameters
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternateDataSourceParameters
DataSource.Builder alternateDataSourceParameters(DataSourceParameters... 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. 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 theDataSourceParameters
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternateDataSourceParameters
DataSource.Builder alternateDataSourceParameters(Consumer<DataSourceParameters.Builder>... 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
This is a convenience method that creates an instance of theDataSourceParameters
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.DataSourceParameters.Builder
avoiding the need to create one manually viaDataSourceParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalternateDataSourceParameters(List<DataSourceParameters>)
.- Parameters:
alternateDataSourceParameters
- a consumer that will call methods onDataSourceParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConnectionProperties
The VPC connection information. You need to use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
- Parameters:
vpcConnectionProperties
- The VPC connection information. You need to use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectionProperties
default DataSource.Builder vpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties) The VPC connection information. You need to use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
This is a convenience method that creates an instance of theVpcConnectionProperties.Builder
avoiding the need to create one manually viaVpcConnectionProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConnectionProperties(VpcConnectionProperties)
.- Parameters:
vpcConnectionProperties
- a consumer that will call methods onVpcConnectionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sslProperties
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
This is a convenience method that creates an instance of theSslProperties.Builder
avoiding the need to create one manually viaSslProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosslProperties(SslProperties)
.- Parameters:
sslProperties
- a consumer that will call methods onSslProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
Error information from the last update or the creation of the data source.
This is a convenience method that creates an instance of theDataSourceErrorInfo.Builder
avoiding the need to create one manually viaDataSourceErrorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(DataSourceErrorInfo)
.- Parameters:
errorInfo
- a consumer that will call methods onDataSourceErrorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretArn
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- Parameters:
secretArn
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-