func (s *LambdaLinuxProcessParams) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "LambdaLinuxProcessParams"}
	if s.ContainerParams != nil {
		if err := s.ContainerParams.Validate(); err != nil {
			invalidParams.AddNested("ContainerParams", err.(request.ErrInvalidParams))
		}
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}
// Validate inspects the fields of the type to determine if they are valid.
Validate inspects the fields of the type to determine if they are valid.
// Validate inspects the fields of the type to determine if they are valid .
func (s *LambdaLinuxProcessParams) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "LambdaLinuxProcessParams"}
	if s.ContainerParams != nil {
		if err := s.ContainerParams.Validate(); err != nil {
			invalidParams.AddNested("ContainerParams", err.(request.ErrInvalidParams))
		}
	}
	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}
func ( s * LambdaLinuxProcessParams ) Validate ( ) error { invalidParams := request . ErrInvalidParams { Context : " " } if s . ContainerParams != nil { if err := s . ContainerParams . Validate ( ) ; err != nil { invalidParams . AddNested ( " " , err . ( request . ErrInvalidParams ) ) } } if invalidParams . Len ( ) > 0 { return invalidParams } return nil }
Validate inspects the fields of the type to determine if they are valid.
Validate inspects the fields of the type to determine if they are valid .