@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information that's required to connect to a database.
Constructor and Description |
---|
ConnectionConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConnectionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseHost()
The name of the host for the database.
|
String |
getDatabaseName()
The name of the database containing the document data.
|
Integer |
getDatabasePort()
The port that the database uses for connections.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
String |
getTableName()
The name of the table that contains the document data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabaseHost(String databaseHost)
The name of the host for the database.
|
void |
setDatabaseName(String databaseName)
The name of the database containing the document data.
|
void |
setDatabasePort(Integer databasePort)
The port that the database uses for connections.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
void |
setTableName(String tableName)
The name of the table that contains the document data.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionConfiguration |
withDatabaseHost(String databaseHost)
The name of the host for the database.
|
ConnectionConfiguration |
withDatabaseName(String databaseName)
The name of the database containing the document data.
|
ConnectionConfiguration |
withDatabasePort(Integer databasePort)
The port that the database uses for connections.
|
ConnectionConfiguration |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
ConnectionConfiguration |
withTableName(String tableName)
The name of the table that contains the document data.
|
public void setDatabaseHost(String databaseHost)
The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
databaseHost
- The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or
IPv6 address.public String getDatabaseHost()
The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
public ConnectionConfiguration withDatabaseHost(String databaseHost)
The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
databaseHost
- The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or
IPv6 address.public void setDatabasePort(Integer databasePort)
The port that the database uses for connections.
databasePort
- The port that the database uses for connections.public Integer getDatabasePort()
The port that the database uses for connections.
public ConnectionConfiguration withDatabasePort(Integer databasePort)
The port that the database uses for connections.
databasePort
- The port that the database uses for connections.public void setDatabaseName(String databaseName)
The name of the database containing the document data.
databaseName
- The name of the database containing the document data.public String getDatabaseName()
The name of the database containing the document data.
public ConnectionConfiguration withDatabaseName(String databaseName)
The name of the database containing the document data.
databaseName
- The name of the database containing the document data.public void setTableName(String tableName)
The name of the table that contains the document data.
tableName
- The name of the table that contains the document data.public String getTableName()
The name of the table that contains the document data.
public ConnectionConfiguration withTableName(String tableName)
The name of the table that contains the document data.
tableName
- The name of the table that contains the document data.public void setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.
secretArn
- The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a
user/password pair. For more information, see Using a Database Data
Source. For more information about Secrets Manager, see What Is Secrets Manager
in the Secrets Manager user guide.public String getSecretArn()
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.
public ConnectionConfiguration withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.
secretArn
- The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a
user/password pair. For more information, see Using a Database Data
Source. For more information about Secrets Manager, see What Is Secrets Manager
in the Secrets Manager user guide.public String toString()
toString
in class Object
Object.toString()
public ConnectionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.