
com.datastax.driver.core.ScyllaCloudContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scylla-driver-core Show documentation
Show all versions of scylla-driver-core Show documentation
A driver for Scylla and Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3
(CQL3) and Cassandra's binary protocol.
The newest version!
/*
* Copyright (C) 2022 ScyllaDB
*/
package com.datastax.driver.core;
import com.fasterxml.jackson.annotation.JsonProperty;
class ScyllaCloudContext {
private final String datacenterName;
private final String authInfoName;
public ScyllaCloudContext(
@JsonProperty(value = "datacenterName", required = true) String datacenterName,
@JsonProperty(value = "authInfoName", required = true) String authInfoName) {
this.datacenterName = datacenterName;
this.authInfoName = authInfoName;
}
public String getDatacenterName() {
return datacenterName;
}
public String getAuthInfoName() {
return authInfoName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy