Class GetComposableIndexTemplateRequest

  • All Implemented Interfaces:
    Validatable

    public class GetComposableIndexTemplateRequest
    extends java.lang.Object
    implements Validatable
    A request to read the content of index templates
    • Constructor Detail

      • GetComposableIndexTemplateRequest

        public GetComposableIndexTemplateRequest​(java.lang.String name)
        Create a request to read the content of index template. If no template name is provided, all templates will be read
        Parameters:
        name - the name of template to read
    • Method Detail

      • name

        public java.lang.String name()
        Returns:
        the name of index template this request is requesting
      • getMasterNodeTimeout

        public org.opensearch.common.unit.TimeValue getMasterNodeTimeout()
        Returns:
        the timeout for waiting for the master node to respond
      • setMasterNodeTimeout

        public void setMasterNodeTimeout​(@Nullable
                                         org.opensearch.common.unit.TimeValue masterNodeTimeout)
      • setMasterNodeTimeout

        public void setMasterNodeTimeout​(java.lang.String masterNodeTimeout)
      • isLocal

        public boolean isLocal()
        Returns:
        true if this request is to read from the local cluster state, rather than the master node - false otherwise
      • setLocal

        public void setLocal​(boolean local)