// SetRotate sets the Rotate field's value.
182044
func (s *JobOutput) SetRotate(v string) *JobOutput {
	s.Rotate = &v
	return s
}
507886
func (s *KinesisFirehoseOutputUpdate) SetRoleARNUpdate(v string) *KinesisFirehoseOutputUpdate {
	s.RoleARNUpdate = &v
	return s
}
267939
func (s *Type) SetFormat(v string) *Type {
	s.Format = &v
	return s
}
1260759
func (s *CaptionFormat) SetFormat(v string) *CaptionFormat {
	s.Format = &v
	return s
}
252002
func (s *DetectFacesOutput) SetOrientationCorrection(v string) *DetectFacesOutput {
	s.OrientationCorrection = &v
	return s
}
1136176
func RunLogRotate(logFilePath string, c *RotateConfig, logger lager.Logger) {
	Logger = logger
	if logFilePath == "" {
		return
	}
	checkConfig(c)
	if c == nil {
		go func() {
			for {
				LogRotate(filepath.Dir(logFilePath), LogRotateSize, LogBackupCount)
				time.Sleep(30 * time.Second)
			}
		}()
	} else {
		if c.RollingPolicy == RollingPolicySize {
			go func() {
				for {
					LogRotate(filepath.Dir(logFilePath), c.LogRotateSize, c.LogBackupCount)
					time.Sleep(30 * time.Second)
				}
			}()
		} else {
			go func() {
				for {
					LogRotate(filepath.Dir(logFilePath), 0, c.LogBackupCount)
					time.Sleep(24 * time.Hour * time.Duration(c.LogRotateDate))
				}
			}()
		}
	}
}
724693
func SetTimeRotated(timeRotated bool) {
	singltonLock.RLock()
	defer singltonLock.RUnlock()

	blog.SetTimeRotated(timeRotated)
}
123939
func (s *DescribeSecretOutput) SetRotationRules(v *RotationRulesType) *DescribeSecretOutput {
	s.RotationRules = v
	return s
}
115931
func (s *DescribeSecretOutput) SetRotationEnabled(v bool) *DescribeSecretOutput {
	s.RotationEnabled = &v
	return s
}
519002
func (s *ImportApiKeysInput) SetFormat(v string) *ImportApiKeysInput {
	s.Format = &v
	return s
}
985899
func (s *SecretListEntry) SetRotationLambdaARN(v string) *SecretListEntry {
	s.RotationLambdaARN = &v
	return s
}
1072321
func (w *FileLogWriter) SetRotateLines(maxlines int) *FileLogWriter {
	//fmt.Fprintf(os.Stderr, "FileLogWriter.SetRotateLines: %v\n", maxlines)
	w.maxlines = maxlines
	return w
}
509211
func (writer *ConsoleWriter) SetRotateLines(rotateLines int) {
	writer.lock.Lock()
	defer writer.lock.Unlock()

	return
}
335977
func (s *RotateSecretInput) SetRotationLambdaARN(v string) *RotateSecretInput {
	s.RotationLambdaARN = &v
	return s
}
1279949
func (s *SkillDetails) SetReleaseDate(v string) *SkillDetails {
	s.ReleaseDate = &v
	return s
}
8103
func (s *CreateJobPlaylist) SetFormat(v string) *CreateJobPlaylist {
	s.Format = &v
	return s
}
1261032
func (s *SpheroDriver) SetRotationRate(level uint8) {
	s.packetChannel <- s.craftPacket([]uint8{level}, 0x02, 0x03)
}