public class CassandraServiceInfo extends BaseServiceInfo
ServiceInfo
for a Cassandra/Datastax DSE
service.ServiceInfo.ServiceLabel, ServiceInfo.ServiceProperty
id
Constructor and Description |
---|
CassandraServiceInfo(String id,
List<String> contactPoints,
int port)
Creates a new
CassandraServiceInfo using Contact points and port. |
CassandraServiceInfo(String id,
List<String> contactPoints,
int port,
String username,
String password)
Creates a new
CassandraServiceInfo using Contact points with a port and
username/password credentials. |
Modifier and Type | Method and Description |
---|---|
List<String> |
getContactPoints() |
String |
getPassword() |
int |
getPort() |
String |
getUsername() |
getId
public CassandraServiceInfo(String id, List<String> contactPoints, int port)
CassandraServiceInfo
using Contact points and port.id
- the service-idcontactPoints
- list of contact-pointsport
- the portpublic CassandraServiceInfo(String id, List<String> contactPoints, int port, String username, String password)
CassandraServiceInfo
using Contact points with a port and
username/password credentials.id
- the service-idcontactPoints
- list of contact-pointsport
- the portusername
- the user namepassword
- the password