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 SummaryModifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The Amazon Web Services account ID.default CreateDataSourceRequest.Buildercredentials(Consumer<DataSourceCredentials.Builder> credentials) The credentials Amazon Quick Sight that uses to connect to your underlying source.credentials(DataSourceCredentials credentials) The credentials Amazon Quick Sight that uses to connect to your underlying source.dataSourceId(String dataSourceId) An ID for the data source.default CreateDataSourceRequest.BuilderdataSourceParameters(Consumer<DataSourceParameters.Builder> dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source.dataSourceParameters(DataSourceParameters dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source.folderArns(String... folderArns) When you create the data source, Amazon Quick Sight adds the data source to these folders.folderArns(Collection<String> folderArns) When you create the data source, Amazon Quick Sight 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.BuildersslProperties(Consumer<SslProperties.Builder> sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.sslProperties(SslProperties sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight 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.BuildervpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.vpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
awsAccountIdThe 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.
 
- 
dataSourceIdAn 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.
 
- 
nameA 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.
 
- 
typeThe type of the data source. To return a list of all data sources, use ListDataSources.Use AMAZON_ELASTICSEARCHfor Amazon OpenSearch Service.- Parameters:
- type- The type of the data source. To return a list of all data sources, use- ListDataSources.- Use - AMAZON_ELASTICSEARCHfor Amazon OpenSearch Service.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of the data source. To return a list of all data sources, use ListDataSources.Use AMAZON_ELASTICSEARCHfor Amazon OpenSearch Service.- Parameters:
- type- The type of the data source. To return a list of all data sources, use- ListDataSources.- Use - AMAZON_ELASTICSEARCHfor Amazon OpenSearch Service.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dataSourceParametersThe parameters that Amazon Quick Sight uses to connect to your underlying source. - Parameters:
- dataSourceParameters- The parameters that Amazon Quick Sight uses to connect to your underlying source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourceParametersdefault CreateDataSourceRequest.Builder dataSourceParameters(Consumer<DataSourceParameters.Builder> dataSourceParameters) The parameters that Amazon Quick Sight uses to connect to your underlying source. This is a convenience method that creates an instance of theDataSourceParameters.Builderavoiding the need to create one manually viaDataSourceParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceParameters(DataSourceParameters).- Parameters:
- dataSourceParameters- a consumer that will call methods on- DataSourceParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
credentialsThe credentials Amazon Quick Sight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported. - 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:
- Returns a reference to this object so that method calls can be chained together.
 
- 
credentialsdefault CreateDataSourceRequest.Builder credentials(Consumer<DataSourceCredentials.Builder> 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. This is a convenience method that creates an instance of theDataSourceCredentials.Builderavoiding the need to create one manually viaDataSourceCredentials.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(DataSourceCredentials).- Parameters:
- credentials- a consumer that will call methods on- DataSourceCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionsA 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.
 
- 
permissionsA 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.
 
- 
permissionsA list of resource permissions on the data source. This is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissions(List<ResourcePermission>).- Parameters:
- permissions- a consumer that will call methods on- ResourcePermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
vpcConnectionPropertiesCreateDataSourceRequest.Builder vpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source. - Parameters:
- vpcConnectionProperties- Use this parameter only when you want Amazon Quick Sight 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.
 
- 
vpcConnectionPropertiesdefault CreateDataSourceRequest.Builder vpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> vpcConnectionProperties) Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source. This is a convenience method that creates an instance of theVpcConnectionProperties.Builderavoiding the need to create one manually viaVpcConnectionProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConnectionProperties(VpcConnectionProperties).- Parameters:
- vpcConnectionProperties- a consumer that will call methods on- VpcConnectionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sslPropertiesSecure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source. - Parameters:
- sslProperties- Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sslPropertiesdefault CreateDataSourceRequest.Builder sslProperties(Consumer<SslProperties.Builder> sslProperties) Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source. This is a convenience method that creates an instance of theSslProperties.Builderavoiding the need to create one manually viaSslProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosslProperties(SslProperties).- Parameters:
- sslProperties- a consumer that will call methods on- SslProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsContains 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.
 
- 
tagsContains 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.
 
- 
tagsContains 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.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
folderArnsWhen you create the data source, Amazon Quick Sight adds the data source to these folders. - Parameters:
- folderArns- When you create the data source, Amazon Quick Sight adds the data source to these folders.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
folderArnsWhen you create the data source, Amazon Quick Sight adds the data source to these folders. - Parameters:
- folderArns- When you create the data source, Amazon Quick Sight adds the data source to these folders.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-