@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RdsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
Constructor and Description |
---|
RdsConfiguration() |
Modifier and Type | Method and Description |
---|---|
RdsConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCredentialsSecretArn()
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon
RDS database.
|
String |
getDatabaseName()
The name of your Amazon RDS database.
|
RdsFieldMapping |
getFieldMapping()
Contains the names of the fields to which to map information about the vector store.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the vector store.
|
String |
getTableName()
The name of the table in the database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon
RDS database.
|
void |
setDatabaseName(String databaseName)
The name of your Amazon RDS database.
|
void |
setFieldMapping(RdsFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the vector store.
|
void |
setTableName(String tableName)
The name of the table in the database.
|
String |
toString()
Returns a string representation of this object.
|
RdsConfiguration |
withCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon
RDS database.
|
RdsConfiguration |
withDatabaseName(String databaseName)
The name of your Amazon RDS database.
|
RdsConfiguration |
withFieldMapping(RdsFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
|
RdsConfiguration |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the vector store.
|
RdsConfiguration |
withTableName(String tableName)
The name of the table in the database.
|
public void setCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
credentialsSecretArn
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your
Amazon RDS database.public String getCredentialsSecretArn()
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
public RdsConfiguration withCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
credentialsSecretArn
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your
Amazon RDS database.public void setDatabaseName(String databaseName)
The name of your Amazon RDS database.
databaseName
- The name of your Amazon RDS database.public String getDatabaseName()
The name of your Amazon RDS database.
public RdsConfiguration withDatabaseName(String databaseName)
The name of your Amazon RDS database.
databaseName
- The name of your Amazon RDS database.public void setFieldMapping(RdsFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
fieldMapping
- Contains the names of the fields to which to map information about the vector store.public RdsFieldMapping getFieldMapping()
Contains the names of the fields to which to map information about the vector store.
public RdsConfiguration withFieldMapping(RdsFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
fieldMapping
- Contains the names of the fields to which to map information about the vector store.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the vector store.
resourceArn
- The Amazon Resource Name (ARN) of the vector store.public String getResourceArn()
The Amazon Resource Name (ARN) of the vector store.
public RdsConfiguration withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the vector store.
resourceArn
- The Amazon Resource Name (ARN) of the vector store.public void setTableName(String tableName)
The name of the table in the database.
tableName
- The name of the table in the database.public String getTableName()
The name of the table in the database.
public RdsConfiguration withTableName(String tableName)
The name of the table in the database.
tableName
- The name of the table in the database.public String toString()
toString
in class Object
Object.toString()
public RdsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.