func (s *CatRecoveryService) MasterTimeout(masterTimeout string) *CatRecoveryService {
	s.masterTimeout = masterTimeout
	return s
}
MasterTimeout specifies an explicit operation timeout for connection to master node.
package elastic
import (
	"context"
	"fmt"
	"net/url"
)
type CatRecoveryService struct {
	client        *Client
	format        string
	pretty        bool
	local         *bool
	masterTimeout string
	timeout       string
}
func NewCatRecoveryService(client *Client) *CatRecoveryService {
	return &CatRecoveryService{
		client: client,
	}
}
func (s *CatRecoveryService) Format(format string) *CatRecoveryService {
	if format != "" {
		s.format = format
	} else {
		s.format = "json"
	}
	return s
}
func (s *CatRecoveryService) Pretty(pretty bool) *CatRecoveryService {
	s.pretty = pretty
	return s
}
func (s *CatRecoveryService) Local(local bool) *CatRecoveryService {
	s.local = &local
	return s
}