func (s *XPackIlmGetLifecycleService) ErrorTrace(errorTrace bool) *XPackIlmGetLifecycleService {
	s.errorTrace = &errorTrace
	return s
}
ErrorTrace specifies whether to include the stack trace of returned errors.
package elastic
import (
	"context"
	"fmt"
	"net/http"
	"net/url"
	"strings"
	"github.com/olivere/elastic/v7/uritemplates"
)
type XPackIlmGetLifecycleService struct {
	client *Client
	pretty     *bool        
	human      *bool        
	errorTrace *bool        
	filterPath []string     
	headers    http.Header  
	policy        []string
	timeout       string
	masterTimeout string
	flatSettings  *bool
	local         *bool
}
func NewXPackIlmGetLifecycleService(client *Client) *XPackIlmGetLifecycleService {
	return &XPackIlmGetLifecycleService{
		client: client,
	}
}
func (s *XPackIlmGetLifecycleService) Pretty(pretty bool) *XPackIlmGetLifecycleService {
	s.pretty = &pretty
	return s
}
func (s *XPackIlmGetLifecycleService) Human(human bool) *XPackIlmGetLifecycleService {
	s.human = &human
	return s
}