Class ClientCloudConfig


  • public class ClientCloudConfig
    extends java.lang.Object
    hazelcast.cloud configuration to let the client connect the cluster via hazelcast.cloud
    • Constructor Detail

      • ClientCloudConfig

        public ClientCloudConfig()
    • Method Detail

      • getDiscoveryToken

        public java.lang.String getDiscoveryToken()
        hazelcast.cloud discoveryToken of your cluster
        Returns:
        discoveryToken
      • setDiscoveryToken

        public ClientCloudConfig setDiscoveryToken​(java.lang.String discoveryToken)
        Parameters:
        discoveryToken - hazelcast.cloud discoveryToken of your cluster
        Returns:
        configured ClientCloudConfig for chaining
      • isEnabled

        public boolean isEnabled()
        Returns:
        true if enabled, false otherwise
      • setEnabled

        public ClientCloudConfig setEnabled​(boolean enabled)
        Parameters:
        enabled - true to use hazelcast.cloud
        Returns:
        configured ClientCloudConfig for chaining
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object