Package com.hazelcast.client.config
Class ClientCloudConfig
java.lang.Object
com.hazelcast.client.config.ClientCloudConfig
hazelcast.cloud configuration to let the client connect the cluster via hazelcast.cloud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hazelcast.cloud discoveryToken of your clusterint
hashCode()
boolean
setDiscoveryToken
(String discoveryToken) setEnabled
(boolean enabled) 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
-