Package com.hazelcast.client.config
Class ClientCloudConfig
java.lang.Object
com.hazelcast.client.config.ClientCloudConfig
public class ClientCloudConfig extends Object
hazelcast.cloud configuration to let the client connect the cluster via hazelcast.cloud
-
Constructor Summary
Constructors Constructor Description ClientCloudConfig()
ClientCloudConfig(ClientCloudConfig cloudConfig)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
String
getDiscoveryToken()
hazelcast.cloud discoveryToken of your clusterint
hashCode()
boolean
isEnabled()
ClientCloudConfig
setDiscoveryToken(String discoveryToken)
ClientCloudConfig
setEnabled(boolean enabled)
String
toString()
-
Constructor Details
-
ClientCloudConfig
public ClientCloudConfig() -
ClientCloudConfig
-
-
Method Details
-
getDiscoveryToken
hazelcast.cloud discoveryToken of your cluster- Returns:
- discoveryToken
-
setDiscoveryToken
- Parameters:
discoveryToken
- hazelcast.cloud discoveryToken of your cluster- Returns:
- configured
ClientCloudConfig
for chaining
-
isEnabled
public boolean isEnabled()- Returns:
- true if enabled, false otherwise
-
setEnabled
- Parameters:
enabled
- true to use hazelcast.cloud- Returns:
- configured
ClientCloudConfig
for chaining
-
equals
-
hashCode
public int hashCode() -
toString
-