@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getDataDeletionPolicy()
The data deletion policy for the data source.
|
DataSourceConfiguration |
getDataSourceConfiguration()
The connection configuration for the data source.
|
String |
getDescription()
A description of the data source.
|
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base to which to add the data source.
|
String |
getName()
The name of the data source.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
Contains details about the server-side encryption for the data source.
|
VectorIngestionConfiguration |
getVectorIngestionConfiguration()
Contains details about how to ingest the documents in the data source.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy for the data source.
|
void |
setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
The connection configuration for the data source.
|
void |
setDescription(String description)
A description of the data source.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
|
void |
setName(String name)
The name of the data source.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about the server-side encryption for 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.
|
CreateDataSourceRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
CreateDataSourceRequest |
withDataDeletionPolicy(DataDeletionPolicy dataDeletionPolicy)
The data deletion policy for the data source.
|
CreateDataSourceRequest |
withDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy for the data source.
|
CreateDataSourceRequest |
withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
The connection configuration for the data source.
|
CreateDataSourceRequest |
withDescription(String description)
A description of the data source.
|
CreateDataSourceRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
|
CreateDataSourceRequest |
withName(String name)
The name of the data source.
|
CreateDataSourceRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about the server-side encryption for the data source.
|
CreateDataSourceRequest |
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 setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public CreateDataSourceRequest withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public void setDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
dataDeletionPolicy
- The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
DataDeletionPolicy
public String getDataDeletionPolicy()
The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
DataDeletionPolicy
public CreateDataSourceRequest withDataDeletionPolicy(String dataDeletionPolicy)
The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
dataDeletionPolicy
- The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
DataDeletionPolicy
public CreateDataSourceRequest withDataDeletionPolicy(DataDeletionPolicy dataDeletionPolicy)
The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
dataDeletionPolicy
- The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
DataDeletionPolicy
public void setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
The connection configuration for the data source.
dataSourceConfiguration
- The connection configuration for the data source.public DataSourceConfiguration getDataSourceConfiguration()
The connection configuration for the data source.
public CreateDataSourceRequest withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
The connection configuration for the data source.
dataSourceConfiguration
- The connection configuration for the data source.public void setDescription(String description)
A description of the data source.
description
- A description of the data source.public String getDescription()
A description of the data source.
public CreateDataSourceRequest withDescription(String description)
A description of the data source.
description
- A description of the data source.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
knowledgeBaseId
- The unique identifier of the knowledge base to which to add the data source.public String getKnowledgeBaseId()
The unique identifier of the knowledge base to which to add the data source.
public CreateDataSourceRequest withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
knowledgeBaseId
- The unique identifier of the knowledge base to which to add the data source.public void setName(String name)
The name of the data source.
name
- The name of the data source.public String getName()
The name of the data source.
public CreateDataSourceRequest withName(String name)
The name of the data source.
name
- The name of the data source.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about the server-side encryption for the data source.
serverSideEncryptionConfiguration
- Contains details about the server-side encryption for the data source.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
Contains details about the server-side encryption for the data source.
public CreateDataSourceRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Contains details about the server-side encryption for the data source.
serverSideEncryptionConfiguration
- Contains details about the server-side encryption for 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 CreateDataSourceRequest 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 CreateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()