public static interface DataSource.Builder extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
DataSource.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the data source.
|
DataSource.Builder |
createdTime(Instant createdTime)
The time that this data source was created.
|
DataSource.Builder |
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.
|
DataSource.Builder |
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.
|
DataSource.Builder |
errorInfo(DataSourceErrorInfo errorInfo)
Error information from the last update or the creation of the data source.
|
DataSource.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The last time that this data source was updated.
|
DataSource.Builder |
name(String name)
A display name for the data source.
|
default DataSource.Builder |
sslProperties(Consumer<SslProperties.Builder> sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
|
DataSource.Builder |
sslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
|
DataSource.Builder |
status(ResourceStatus status)
The HTTP status of the request.
|
DataSource.Builder |
status(String status)
The HTTP status of the request.
|
DataSource.Builder |
type(DataSourceType type)
The type of the data source.
|
DataSource.Builder |
type(String type)
The type of the data source.
|
default DataSource.Builder |
vpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties)
The VPC connection information.
|
DataSource.Builder |
vpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
The VPC connection information.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DataSource.Builder arn(String arn)
The Amazon Resource Name (ARN) of the data source.
arn
- The Amazon Resource Name (ARN) of the data source.DataSource.Builder dataSourceId(String dataSourceId)
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web
Services account.DataSource.Builder name(String name)
A display name for the data source.
name
- A display name for the data source.DataSource.Builder type(String type)
The type of the data source. This type indicates which database engine the data source connects to.
type
- The type of the data source. This type indicates which database engine the data source connects to.DataSourceType
,
DataSourceType
DataSource.Builder type(DataSourceType type)
The type of the data source. This type indicates which database engine the data source connects to.
type
- The type of the data source. This type indicates which database engine the data source connects to.DataSourceType
,
DataSourceType
DataSource.Builder status(String status)
The HTTP status of the request.
status
- The HTTP status of the request.ResourceStatus
,
ResourceStatus
DataSource.Builder status(ResourceStatus status)
The HTTP status of the request.
status
- The HTTP status of the request.ResourceStatus
,
ResourceStatus
DataSource.Builder createdTime(Instant createdTime)
The time that this data source was created.
createdTime
- The time that this data source was created.DataSource.Builder lastUpdatedTime(Instant lastUpdatedTime)
The last time that this data source was updated.
lastUpdatedTime
- The last time that this data source was updated.DataSource.Builder dataSourceParameters(DataSourceParameters 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.
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.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 via DataSourceParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to dataSourceParameters(DataSourceParameters)
.dataSourceParameters
- a consumer that will call methods on DataSourceParameters.Builder
dataSourceParameters(DataSourceParameters)
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 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.
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.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 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.
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.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 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.
List.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #alternateDataSourceParameters(List)
.alternateDataSourceParameters
- a consumer that will call methods on List.Builder
#alternateDataSourceParameters(List)
DataSource.Builder vpcConnectionProperties(VpcConnectionProperties 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.
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.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 via VpcConnectionProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to vpcConnectionProperties(VpcConnectionProperties)
.vpcConnectionProperties
- a consumer that will call methods on VpcConnectionProperties.Builder
vpcConnectionProperties(VpcConnectionProperties)
DataSource.Builder sslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying
source.default DataSource.Builder sslProperties(Consumer<SslProperties.Builder> 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 via SslProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sslProperties(SslProperties)
.sslProperties
- a consumer that will call methods on SslProperties.Builder
sslProperties(SslProperties)
DataSource.Builder errorInfo(DataSourceErrorInfo errorInfo)
Error information from the last update or the creation of the data source.
errorInfo
- Error information from the last update or the creation of the data source.default DataSource.Builder errorInfo(Consumer<DataSourceErrorInfo.Builder> 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 via DataSourceErrorInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to errorInfo(DataSourceErrorInfo)
.errorInfo
- a consumer that will call methods on DataSourceErrorInfo.Builder
errorInfo(DataSourceErrorInfo)
Copyright © 2022. All rights reserved.