Class AdvancedOptionsStatus

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class AdvancedOptionsStatus
    extends Object
    implements Serializable, Cloneable

    Status of the advanced options for the specified Elasticsearch domain. Currently, the following advanced options are available:

    • Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.
    • Option to specify the percentage of heap space that is allocated to field data. By default, this setting is unbounded.

    For more information, see Configuring Advanced Options.

    See Also:
    Serialized Form
    • Constructor Detail

      • AdvancedOptionsStatus

        public AdvancedOptionsStatus()
    • Method Detail

      • getOptions

        public Map<String,​String> getOptions()

        Specifies the status of advanced options for the specified Elasticsearch domain.

        Returns:
        Specifies the status of advanced options for the specified Elasticsearch domain.
      • setOptions

        public void setOptions​(Map<String,​String> options)

        Specifies the status of advanced options for the specified Elasticsearch domain.

        Parameters:
        options - Specifies the status of advanced options for the specified Elasticsearch domain.
      • withOptions

        public AdvancedOptionsStatus withOptions​(Map<String,​String> options)

        Specifies the status of advanced options for the specified Elasticsearch domain.

        Parameters:
        options - Specifies the status of advanced options for the specified Elasticsearch domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearOptionsEntries

        public AdvancedOptionsStatus clearOptionsEntries()
        Removes all the entries added into Options. <p> Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(OptionStatus status)

        Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.

        Parameters:
        status - Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.
      • getStatus

        public OptionStatus getStatus()

        Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.

        Returns:
        Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.
      • withStatus

        public AdvancedOptionsStatus withStatus​(OptionStatus status)

        Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.

        Parameters:
        status - Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object