Interface UpdateDataSourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>,QBusinessRequest.Builder,SdkBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDataSourceRequest
public static interface UpdateDataSourceRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDataSourceRequest.BuilderapplicationId(String applicationId)The identifier of the Amazon Q application the data source is attached to.UpdateDataSourceRequest.Builderconfiguration(Document configuration)Sets the value of the Configuration property for this object.UpdateDataSourceRequest.BuilderdataSourceId(String dataSourceId)The identifier of the data source connector.UpdateDataSourceRequest.Builderdescription(String description)The description of the data source connector.UpdateDataSourceRequest.BuilderdisplayName(String displayName)A name of the data source connector.default UpdateDataSourceRequest.BuilderdocumentEnrichmentConfiguration(Consumer<DocumentEnrichmentConfiguration.Builder> documentEnrichmentConfiguration)Sets the value of the DocumentEnrichmentConfiguration property for this object.UpdateDataSourceRequest.BuilderdocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration documentEnrichmentConfiguration)Sets the value of the DocumentEnrichmentConfiguration property for this object.UpdateDataSourceRequest.BuilderindexId(String indexId)The identifier of the index attached to the data source connector.UpdateDataSourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDataSourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDataSourceRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.UpdateDataSourceRequest.BuildersyncSchedule(String syncSchedule)The chosen update frequency for your data source.default UpdateDataSourceRequest.BuildervpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)Sets the value of the VpcConfiguration property for this object.UpdateDataSourceRequest.BuildervpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)Sets the value of the VpcConfiguration property for this object.-
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.qbusiness.model.QBusinessRequest.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 Detail
-
applicationId
UpdateDataSourceRequest.Builder applicationId(String applicationId)
The identifier of the Amazon Q application the data source is attached to.
- Parameters:
applicationId- The identifier of the Amazon Q application the data source is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
UpdateDataSourceRequest.Builder configuration(Document configuration)
Sets the value of the Configuration property for this object.- Parameters:
configuration- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
UpdateDataSourceRequest.Builder dataSourceId(String dataSourceId)
The identifier of the data source connector.
- Parameters:
dataSourceId- The identifier of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateDataSourceRequest.Builder description(String description)
The description of the data source connector.
- Parameters:
description- The description of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
UpdateDataSourceRequest.Builder displayName(String displayName)
A name of the data source connector.
- Parameters:
displayName- A name of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentEnrichmentConfiguration
UpdateDataSourceRequest.Builder documentEnrichmentConfiguration(DocumentEnrichmentConfiguration documentEnrichmentConfiguration)
Sets the value of the DocumentEnrichmentConfiguration property for this object.- Parameters:
documentEnrichmentConfiguration- The new value for the DocumentEnrichmentConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentEnrichmentConfiguration
default UpdateDataSourceRequest.Builder documentEnrichmentConfiguration(Consumer<DocumentEnrichmentConfiguration.Builder> documentEnrichmentConfiguration)
Sets the value of the DocumentEnrichmentConfiguration property for this object. This is a convenience method that creates an instance of theDocumentEnrichmentConfiguration.Builderavoiding the need to create one manually viaDocumentEnrichmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration).- Parameters:
documentEnrichmentConfiguration- a consumer that will call methods onDocumentEnrichmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
documentEnrichmentConfiguration(DocumentEnrichmentConfiguration)
-
indexId
UpdateDataSourceRequest.Builder indexId(String indexId)
The identifier of the index attached to the data source connector.
- Parameters:
indexId- The identifier of the index attached to the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
UpdateDataSourceRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSchedule
UpdateDataSourceRequest.Builder syncSchedule(String syncSchedule)
The chosen update frequency for your data source.
- Parameters:
syncSchedule- The chosen update frequency for your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
UpdateDataSourceRequest.Builder vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Sets the value of the VpcConfiguration property for this object.- Parameters:
vpcConfiguration- The new value for the VpcConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default UpdateDataSourceRequest.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)
Sets the value of the VpcConfiguration property for this object. This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builderavoiding the need to create one manually viaDataSourceVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onDataSourceVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfiguration(DataSourceVpcConfiguration)
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-