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