@Generated(value="software.amazon.awssdk:codegen") public final class ConnectionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectionConfiguration.Builder,ConnectionConfiguration>
Provides the configuration information that's required to connect to a database.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConnectionConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionConfiguration.Builder |
builder() |
String |
databaseHost()
The name of the host for the database.
|
String |
databaseName()
The name of the database containing the document data.
|
Integer |
databasePort()
The port that the database uses for connections.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager.
|
static Class<? extends ConnectionConfiguration.Builder> |
serializableBuilderClass() |
String |
tableName()
The name of the table that contains the document data.
|
ConnectionConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final Integer databasePort()
The port that the database uses for connections.
public final String databaseName()
The name of the database containing the document data.
public final String tableName()
The name of the table that contains the document data.
public final 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.
public ConnectionConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConnectionConfiguration.Builder,ConnectionConfiguration>public static ConnectionConfiguration.Builder builder()
public static Class<? extends ConnectionConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.