@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostgreSqlDataProviderSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a PostgreSQL data provider.
Constructor and Description |
---|
PostgreSqlDataProviderSettings() |
Modifier and Type | Method and Description |
---|---|
PostgreSqlDataProviderSettings |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
String |
getDatabaseName()
The database name on the PostgreSQL data provider.
|
Integer |
getPort()
The port value for the PostgreSQL data provider.
|
String |
getServerName()
The name of the PostgreSQL server.
|
String |
getSslMode()
The SSL mode used to connect to the PostgreSQL data provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
void |
setDatabaseName(String databaseName)
The database name on the PostgreSQL data provider.
|
void |
setPort(Integer port)
The port value for the PostgreSQL data provider.
|
void |
setServerName(String serverName)
The name of the PostgreSQL server.
|
void |
setSslMode(String sslMode)
The SSL mode used to connect to the PostgreSQL data provider.
|
String |
toString()
Returns a string representation of this object.
|
PostgreSqlDataProviderSettings |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
PostgreSqlDataProviderSettings |
withDatabaseName(String databaseName)
The database name on the PostgreSQL data provider.
|
PostgreSqlDataProviderSettings |
withPort(Integer port)
The port value for the PostgreSQL data provider.
|
PostgreSqlDataProviderSettings |
withServerName(String serverName)
The name of the PostgreSQL server.
|
PostgreSqlDataProviderSettings |
withSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the PostgreSQL data provider.
|
PostgreSqlDataProviderSettings |
withSslMode(String sslMode)
The SSL mode used to connect to the PostgreSQL data provider.
|
public void setServerName(String serverName)
The name of the PostgreSQL server.
serverName
- The name of the PostgreSQL server.public String getServerName()
The name of the PostgreSQL server.
public PostgreSqlDataProviderSettings withServerName(String serverName)
The name of the PostgreSQL server.
serverName
- The name of the PostgreSQL server.public void setPort(Integer port)
The port value for the PostgreSQL data provider.
port
- The port value for the PostgreSQL data provider.public Integer getPort()
The port value for the PostgreSQL data provider.
public PostgreSqlDataProviderSettings withPort(Integer port)
The port value for the PostgreSQL data provider.
port
- The port value for the PostgreSQL data provider.public void setDatabaseName(String databaseName)
The database name on the PostgreSQL data provider.
databaseName
- The database name on the PostgreSQL data provider.public String getDatabaseName()
The database name on the PostgreSQL data provider.
public PostgreSqlDataProviderSettings withDatabaseName(String databaseName)
The database name on the PostgreSQL data provider.
databaseName
- The database name on the PostgreSQL data provider.public void setSslMode(String sslMode)
The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.
sslMode
- The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.DmsSslModeValue
public String getSslMode()
The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.
none
.DmsSslModeValue
public PostgreSqlDataProviderSettings withSslMode(String sslMode)
The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.
sslMode
- The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.DmsSslModeValue
public PostgreSqlDataProviderSettings withSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.
sslMode
- The SSL mode used to connect to the PostgreSQL data provider. The default value is none
.DmsSslModeValue
public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
certificateArn
- The Amazon Resource Name (ARN) of the certificate used for SSL connection.public String getCertificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
public PostgreSqlDataProviderSettings withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
certificateArn
- The Amazon Resource Name (ARN) of the certificate used for SSL connection.public String toString()
toString
in class Object
Object.toString()
public PostgreSqlDataProviderSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.