Java Cloud Server SDK Getting Started
To use the DevCycle Java SDK, initialize a client object.
import com.devcycle.sdk.server.cloud.api.DevCycleCloudClient;
public class MyClass {
private DevCycleCloudClient client;
public MyClass() {
client = new DevCycleCloudClient("<DEVCYCLE_SERVER_SDK_KEY>");
}
}
Initialization Options
DevCycleCloudOptions | Description |
---|---|
enableEdgeDB | Enables the usage of EdgeDB for DevCycle that syncs User Data to DevCycle. NOTE: This is only available with Cloud Bucketing. |
import com.devcycle.sdk.server.cloud.api.DevCycleCloudClient;
import com.devcycle.sdk.server.cloud.model.DevCycleCloudOptions;
public class MyClass {
private DevCycleCloudClient client;
public MyClass() {
DevCycleCloudOptions options = DevCycleCloudOptions.builder()
.enableEdgeDB(false)
.build();
client = new DevCycleCloudClient("<DEVCYCLE_SERVER_SDK_KEY>", options);
}
}