@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDataDeletionPolicy()
The data deletion policy assigned to the data source.
|
DataSourceConfiguration |
getDataSourceConfiguration()
Contains details about the storage configuration of the data source.
|
String |
getDataSourceId()
The unique identifier of the data source.
|
String |
getDescription()
Specifies a new description for the data source.
|
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base to which the data source belongs.
|
String |
getName()
Specifies a new name for the data source.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
Contains details about server-side encryption of the data source.
|
VectorIngestionConfiguration |
getVectorIngestionConfiguration()
Contains details about how to ingest the documents in the data source.
|
int |
hashCode() |
void |
setDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy assigned to the data source.
|
void |
setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Contains details about the storage configuration of the data source.
|
void |
setDataSourceId(String dataSourceId)
The unique identifier of the data source.
|
void |
setDescription(String description)
Specifies a new description for the data source.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
|
void |
setName(String name)
Specifies a new name for the data source.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about server-side encryption of the data source.
|
void |
setVectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)
Contains details about how to ingest the documents in the data source.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDataSourceRequest |
withDataDeletionPolicy(DataDeletionPolicy dataDeletionPolicy)
The data deletion policy assigned to the data source.
|
UpdateDataSourceRequest |
withDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy assigned to the data source.
|
UpdateDataSourceRequest |
withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Contains details about the storage configuration of the data source.
|
UpdateDataSourceRequest |
withDataSourceId(String dataSourceId)
The unique identifier of the data source.
|
UpdateDataSourceRequest |
withDescription(String description)
Specifies a new description for the data source.
|
UpdateDataSourceRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
|
UpdateDataSourceRequest |
withName(String name)
Specifies a new name for the data source.
|
UpdateDataSourceRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about server-side encryption of the data source.
|
UpdateDataSourceRequest |
withVectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)
Contains details about how to ingest the documents in the data source.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy assigned to the data source.
dataDeletionPolicy
- The data deletion policy assigned to the data source.DataDeletionPolicy
public String getDataDeletionPolicy()
The data deletion policy assigned to the data source.
DataDeletionPolicy
public UpdateDataSourceRequest withDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy assigned to the data source.
dataDeletionPolicy
- The data deletion policy assigned to the data source.DataDeletionPolicy
public UpdateDataSourceRequest withDataDeletionPolicy(DataDeletionPolicy dataDeletionPolicy)
The data deletion policy assigned to the data source.
dataDeletionPolicy
- The data deletion policy assigned to the data source.DataDeletionPolicy
public void setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Contains details about the storage configuration of the data source.
dataSourceConfiguration
- Contains details about the storage configuration of the data source.public DataSourceConfiguration getDataSourceConfiguration()
Contains details about the storage configuration of the data source.
public UpdateDataSourceRequest withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Contains details about the storage configuration of the data source.
dataSourceConfiguration
- Contains details about the storage configuration of the data source.public void setDataSourceId(String dataSourceId)
The unique identifier of the data source.
dataSourceId
- The unique identifier of the data source.public String getDataSourceId()
The unique identifier of the data source.
public UpdateDataSourceRequest withDataSourceId(String dataSourceId)
The unique identifier of the data source.
dataSourceId
- The unique identifier of the data source.public void setDescription(String description)
Specifies a new description for the data source.
description
- Specifies a new description for the data source.public String getDescription()
Specifies a new description for the data source.
public UpdateDataSourceRequest withDescription(String description)
Specifies a new description for the data source.
description
- Specifies a new description for the data source.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
knowledgeBaseId
- The unique identifier of the knowledge base to which the data source belongs.public String getKnowledgeBaseId()
The unique identifier of the knowledge base to which the data source belongs.
public UpdateDataSourceRequest withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
knowledgeBaseId
- The unique identifier of the knowledge base to which the data source belongs.public void setName(String name)
Specifies a new name for the data source.
name
- Specifies a new name for the data source.public String getName()
Specifies a new name for the data source.
public UpdateDataSourceRequest withName(String name)
Specifies a new name for the data source.
name
- Specifies a new name for the data source.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about server-side encryption of the data source.
serverSideEncryptionConfiguration
- Contains details about server-side encryption of the data source.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
Contains details about server-side encryption of the data source.
public UpdateDataSourceRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about server-side encryption of the data source.
serverSideEncryptionConfiguration
- Contains details about server-side encryption of the data source.public void setVectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)
Contains details about how to ingest the documents in the data source.
vectorIngestionConfiguration
- Contains details about how to ingest the documents in the data source.public VectorIngestionConfiguration getVectorIngestionConfiguration()
Contains details about how to ingest the documents in the data source.
public UpdateDataSourceRequest withVectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration)
Contains details about how to ingest the documents in the data source.
vectorIngestionConfiguration
- Contains details about how to ingest the documents in the data source.public String toString()
toString
in class Object
Object.toString()
public UpdateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()