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 Details

    • ClientCloudConfig

      public ClientCloudConfig()
    • ClientCloudConfig

      public ClientCloudConfig(ClientCloudConfig cloudConfig)
  • Method Details

    • getDiscoveryToken

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

      public ClientCloudConfig setDiscoveryToken(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(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object