Class UpdateDataSourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.qbusiness.model.QBusinessRequest
-
- software.amazon.awssdk.services.qbusiness.model.UpdateDataSourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDataSourceRequest extends QBusinessRequest implements ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDataSourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The identifier of the Amazon Q Business application the data source is attached to.static UpdateDataSourceRequest.Builderbuilder()Documentconfiguration()Returns the value of the Configuration property for this object.StringdataSourceId()The identifier of the data source connector.Stringdescription()The description of the data source connector.StringdisplayName()A name of the data source connector.DocumentEnrichmentConfigurationdocumentEnrichmentConfiguration()Returns the value of the DocumentEnrichmentConfiguration property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringindexId()The identifier of the index attached to the data source connector.StringroleArn()The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.List<SdkField<?>>sdkFields()static Class<? extends UpdateDataSourceRequest.Builder>serializableBuilderClass()StringsyncSchedule()The chosen update frequency for your data source.UpdateDataSourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataSourceVpcConfigurationvpcConfiguration()Returns the value of the VpcConfiguration property for this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The identifier of the Amazon Q Business application the data source is attached to.
- Returns:
- The identifier of the Amazon Q Business application the data source is attached to.
-
indexId
public final String indexId()
The identifier of the index attached to the data source connector.
- Returns:
- The identifier of the index attached to the data source connector.
-
dataSourceId
public final String dataSourceId()
The identifier of the data source connector.
- Returns:
- The identifier of the data source connector.
-
displayName
public final String displayName()
A name of the data source connector.
- Returns:
- A name of the data source connector.
-
configuration
public final Document configuration()
Returns the value of the Configuration property for this object.- Returns:
- The value of the Configuration property for this object.
-
vpcConfiguration
public final DataSourceVpcConfiguration vpcConfiguration()
Returns the value of the VpcConfiguration property for this object.- Returns:
- The value of the VpcConfiguration property for this object.
-
description
public final String description()
The description of the data source connector.
- Returns:
- The description of the data source connector.
-
syncSchedule
public final String syncSchedule()
The chosen update frequency for your data source.
- Returns:
- The chosen update frequency for your data source.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
- Returns:
- The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
-
documentEnrichmentConfiguration
public final DocumentEnrichmentConfiguration documentEnrichmentConfiguration()
Returns the value of the DocumentEnrichmentConfiguration property for this object.- Returns:
- The value of the DocumentEnrichmentConfiguration property for this object.
-
toBuilder
public UpdateDataSourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>- Specified by:
toBuilderin classQBusinessRequest
-
builder
public static UpdateDataSourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDataSourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-