Class ClusterGetSettingsResponse

    • Constructor Detail

      • ClusterGetSettingsResponse

        public ClusterGetSettingsResponse​(Settings persistentSettings,
                                          Settings transientSettings,
                                          Settings defaultSettings)
    • Method Detail

      • getPersistentSettings

        public Settings getPersistentSettings()
        Returns the persistent settings for the cluster
        Returns:
        Settings
      • getTransientSettings

        public Settings getTransientSettings()
        Returns the transient settings for the cluster
        Returns:
        Settings
      • getDefaultSettings

        public Settings getDefaultSettings()
        Returns the default settings for the cluster (only if include_defaults was set to true in the request)
        Returns:
        Settings
      • getSetting

        public java.lang.String getSetting​(java.lang.String setting)
        Returns the string value of the setting for the specified index. The order of search is first in persistent settings the transient settings and finally the default settings.
        Parameters:
        setting - the name of the setting to get
        Returns:
        String
      • 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