code: func NewEndpointWithTTL(dnsName, recordType string, ttl TTL, targets ...string) *Endpoint {
  	cleanTargets := make([]string, len(targets))
  	for idx, target := range targets {
  		cleanTargets[idx] = strings.TrimSuffix(target, ".")
  	}
  
  	return &Endpoint{
  		DNSName:    strings.TrimSuffix(dnsName, "."),
  		Targets:    cleanTargets,
  		RecordType: recordType,
  		Labels:     NewLabels(),
  		RecordTTL:  ttl,
  	}
  }
docs: // NewEndpointWithTTL initialization method to be used to create an endpoint with a TTL struct