Interface CreateDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDataSourceRequest.Builder,
,CreateDataSourceRequest> QuickSightRequest.Builder
,SdkBuilder<CreateDataSourceRequest.Builder,
,CreateDataSourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The Amazon Web Services account ID.default CreateDataSourceRequest.Builder
credentials
(Consumer<DataSourceCredentials.Builder> credentials) The credentials Amazon QuickSight that uses to connect to your underlying source.credentials
(DataSourceCredentials credentials) The credentials Amazon QuickSight that uses to connect to your underlying source.dataSourceId
(String dataSourceId) An ID for the data source.default CreateDataSourceRequest.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.folderArns
(String... folderArns) When you create the data source, Amazon QuickSight adds the data source to these folders.folderArns
(Collection<String> folderArns) When you create the data source, Amazon QuickSight adds the data source to these folders.A display name for the data source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissions
(Collection<ResourcePermission> permissions) A list of resource permissions on the data source.permissions
(Consumer<ResourcePermission.Builder>... permissions) A list of resource permissions on the data source.permissions
(ResourcePermission... permissions) A list of resource permissions on the data source.default CreateDataSourceRequest.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.tags
(Collection<Tag> tags) Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.tags
(Consumer<Tag.Builder>... tags) Contains a map of the key-value pairs for the resource tag or tags assigned to the data 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.type
(DataSourceType type) The type of the data source.default CreateDataSourceRequest.Builder
vpcConnectionProperties
(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties) Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.vpcConnectionProperties
(VpcConnectionProperties vpcConnectionProperties) Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
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
-
awsAccountId
The Amazon Web Services account ID.
- Parameters:
awsAccountId
- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
dataSourceId
- An ID for 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. To return a list of all data sources, use
ListDataSources
.Use
AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.- Parameters:
type
- The type of the data source. To return a list of all data sources, useListDataSources
.Use
AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the data source. To return a list of all data sources, use
ListDataSources
.Use
AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.- Parameters:
type
- The type of the data source. To return a list of all data sources, useListDataSources
.Use
AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceParameters
default CreateDataSourceRequest.Builder dataSourceParameters(Consumer<DataSourceParameters.Builder> dataSourceParameters) The parameters that Amazon QuickSight uses to connect to your underlying source.
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:
-
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. Currently, only credentials based on user name and password are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default CreateDataSourceRequest.Builder credentials(Consumer<DataSourceCredentials.Builder> 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 is a convenience method that creates an instance of theDataSourceCredentials.Builder
avoiding the need to create one manually viaDataSourceCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(DataSourceCredentials)
.- Parameters:
credentials
- a consumer that will call methods onDataSourceCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissions
A list of resource permissions on the data source.
- Parameters:
permissions
- A list of resource permissions on the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A list of resource permissions on the data source.
- Parameters:
permissions
- A list of resource permissions on the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A list of resource permissions on the data source.
This is a convenience method that creates an instance of theResourcePermission.Builder
avoiding the need to create one manually viaResourcePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<ResourcePermission>)
.- Parameters:
permissions
- a consumer that will call methods onResourcePermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConnectionProperties
CreateDataSourceRequest.Builder vpcConnectionProperties(VpcConnectionProperties 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectionProperties
default CreateDataSourceRequest.Builder vpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties) 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
default CreateDataSourceRequest.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 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:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
folderArns
When you create the data source, Amazon QuickSight adds the data source to these folders.
- Parameters:
folderArns
- When you create the data source, Amazon QuickSight adds the data source to these folders.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderArns
When you create the data source, Amazon QuickSight adds the data source to these folders.
- Parameters:
folderArns
- When you create the data source, Amazon QuickSight adds the data source to these folders.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-